1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2002-01-10 18:39:02 +00:00 committed by cras
parent 4840b1575f
commit 4cd853feec

View File

@ -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);
}