diff options
Diffstat (limited to 'irc_channel.c')
| -rw-r--r-- | irc_channel.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/irc_channel.c b/irc_channel.c index f0e564bc..534f49c4 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -201,7 +201,12 @@ int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu, gboolean silent, co  		irc_send_part( ic, iu, msg );  	if( iu == ic->irc->user ) +	{  		ic->flags &= ~IRC_CHANNEL_JOINED; +		 +		if( ic->flags & IRC_CHANNEL_TEMP ) +			irc_channel_free( ic ); +	}  	return 1;  } | 
