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:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user