projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git]
/
ircd
/
s_misc.c
diff --git
a/ircd/s_misc.c
b/ircd/s_misc.c
index 1b1dcad7343b8dd4be0c20511e20c9a56346f0b5..1ea6d8ca701051c102ccf9562bcd05d74059dd9c 100644
(file)
--- a/
ircd/s_misc.c
+++ b/
ircd/s_misc.c
@@
-233,7
+233,7
@@
static void exit_one_client(struct Client* bcptr, const char* comment)
* that the client can show the "**signoff" message).
* (Note: The notice is to the local clients *only*)
*/
* that the client can show the "**signoff" message).
* (Note: The notice is to the local clients *only*)
*/
- sendcmdto_common_channels
(bcptr, CMD_QUIT
, ":%s", comment);
+ sendcmdto_common_channels
_butone(bcptr, CMD_QUIT, NULL
, ":%s", comment);
remove_user_from_all_channels(bcptr);
remove_user_from_all_channels(bcptr);
@@
-245,6
+245,10
@@
static void exit_one_client(struct Client* bcptr, const char* comment)
while ((lp = cli_user(bcptr)->silence))
del_silence(bcptr, lp->value.cp);
while ((lp = cli_user(bcptr)->silence))
del_silence(bcptr, lp->value.cp);
+ /* Clean up snotice lists */
+ if (MyUser(bcptr))
+ set_snomask(bcptr, ~0, SNO_DEL);
+
if (IsInvisible(bcptr))
--UserStats.inv_clients;
if (IsOper(bcptr))
if (IsInvisible(bcptr))
--UserStats.inv_clients;
if (IsOper(bcptr))