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

Check that it's IRC-channel we're destroying before doing any IRC-specific

deinitialization.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1952 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-01 21:04:26 +00:00 committed by cras
parent 083bdc74be
commit f6fea30ff5

View File

@ -162,7 +162,8 @@ void invitelist_remove(IRC_CHANNEL_REC *channel, const char *mask)
static void channel_destroyed(IRC_CHANNEL_REC *channel)
{
g_return_if_fail(channel != NULL);
if (!IS_IRC_CHANNEL(channel))
return;
banlist_free(channel->banlist);
banlist_free(channel->ebanlist);