diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-10 18:39:02 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-10 18:39:02 +0000 |
commit | 4cd853feecf927cb47538dfbfc2793d9760ec111 (patch) | |
tree | 5f440d1b79bf6ec3a1a427300e6db89a4f645271 /src/irc/core | |
parent | 4840b1575faf405a35bd11bfc18843bda5047d81 (diff) | |
download | irssi-4cd853feecf927cb47538dfbfc2793d9760ec111.zip |
Purge the commands in queue for channel if you get kicked from there.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2305 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core')
-rw-r--r-- | src/irc/core/channel-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index 53353114..146bef69 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -276,6 +276,7 @@ static void event_kick(IRC_SERVER_REC *server, const char *data) chanrec = channel_find(SERVER(server), channel); if (chanrec != NULL) { + irc_server_purge_output(server, channel); chanrec->kicked = TRUE; channel_destroy(chanrec); } |