projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448a78d
)
announce QUIT of the source client when recovering a zombie
author
pk910
<philipp@zoelle1.de>
Fri, 11 May 2012 03:26:06 +0000
(
05:26
+0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 11 May 2012 03:26:40 +0000
(
05:26
+0200)
ircd/s_misc.c
patch
|
blob
|
history
diff --git
a/ircd/s_misc.c
b/ircd/s_misc.c
index 561c976a17cd0242dc8143fb52eebf5e0d5b05a5..2dd7b8296860862f5298b333873f51327c73cdcc 100644
(file)
--- a/
ircd/s_misc.c
+++ b/
ircd/s_misc.c
@@
-371,6
+371,10
@@
void unzombie_client(struct Client *cptr, struct Client *sptr, struct Client *ac
ClearOper(victim);
ClearNotConn(victim);
+ /* announce "disconnect" of the source client */
+ sendcmdto_common_channels_butone_audit(acptr, CMD_QUIT, NULL, ":Switched to %s", cli_name(victim));
+ remove_user_from_all_channels(acptr);
+
if (MyConnect(victim)) {
/* inform client about "new" modes */
struct Flags setflags = cli_flags(acptr);