From: pk910 Date: Fri, 11 May 2012 03:26:06 +0000 (+0200) Subject: announce QUIT of the source client when recovering a zombie X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=e1f18b43859e522cacf0d3f4e437ffbd08a50238;hp=448a78d1710a8be653a520110edbd4bc4742c5d5 announce QUIT of the source client when recovering a zombie --- diff --git a/ircd/s_misc.c b/ircd/s_misc.c index 561c976..2dd7b82 100644 --- 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);