1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 08:33:13 +02:00

- Fixed SDESC not messaging +s +s clients on local server when it is used, reported by

dre, patch provided by djGrrr.
This commit is contained in:
Bram Matthys
2007-01-22 12:50:55 +00:00
parent c88832d960
commit 9feef46dae
2 changed files with 6 additions and 6 deletions
+2
View File
@@ -1439,3 +1439,5 @@
should be taken when giving such access to a user since he/she will be able to flood
at full speed and could possibly take down the entire IRCd (well, everyone on it).
Suggested by avb, coded by djGrrr.
- Fixed SDESC not messaging +s +s clients on local server when it is used, reported by
dre, patch provided by djGrrr.
+4 -6
View File
@@ -130,13 +130,11 @@ int m_sdesc(aClient *cptr, aClient *sptr, int parc, char *parv[])
parv[1]);
if (MyConnect(sptr))
{
sendto_one(sptr,
":%s NOTICE %s :Your \"server description\" is now set to be %s - you have to set it manually to undo it",
me.name, parv[0], parv[1]);
return 0;
}
":%s NOTICE %s :Your \"server description\" is now set to be %s - you have to set it manually to undo it",
me.name, parv[0], parv[1]);
sendto_ops("Server description for %s is now '%s' changed by %s",
sptr->srvptr->name, sptr->srvptr->info, parv[0]);
sptr->srvptr->name, sptr->srvptr->info, parv[0]);
return 0;
}