* 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);
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))
cli_name(killer), comment);
else
sendrawto_one(victim, MSG_ERROR " :Closing Link: %s by %s (%s)",
- cli_name(victim), cli_name(killer), comment);
+ cli_name(victim), IsServer(killer) ? cli_name(&me) :
+ cli_name(killer), comment);
}
}
if ((IsServer(victim) || IsHandshake(victim) || IsConnecting(victim)) &&