From 4cd853feecf927cb47538dfbfc2793d9760ec111 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 10 Jan 2002 18:39:02 +0000 Subject: [PATCH] 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 --- src/irc/core/channel-events.c | 1 + 1 file changed, 1 insertion(+) 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); }