xD/xS: fix KICKs in quiet channels
This commit is contained in:
@@ -2637,7 +2637,11 @@ irc_try_kick (struct client *c, const char *channel_name, const char *nick,
|
||||
if (!(chan->modes & IRC_CHAN_MODE_QUIET))
|
||||
irc_channel_multicast (chan, message, NULL);
|
||||
else
|
||||
{
|
||||
client_send (c, "%s", message);
|
||||
if (c != client)
|
||||
client_send (client, "%s", message);
|
||||
}
|
||||
free (message);
|
||||
|
||||
channel_remove_user (chan, user);
|
||||
|
||||
Reference in New Issue
Block a user