kike: fix changing channel modes

This commit is contained in:
Přemysl Eric Janouch 2015-06-18 08:27:45 +02:00
parent 87a44fb807
commit 4ef6f6ec2d
1 changed files with 1 additions and 1 deletions

2
kike.c
View File

@ -1780,7 +1780,7 @@ static bool
mode_processor_do_chan (struct mode_processor *self, int mode)
{
if (!mode_processor_check_operator (self)
|| irc_modify_mode (&self->channel->modes, mode, self->adding))
|| !irc_modify_mode (&self->channel->modes, mode, self->adding))
return false;
str_append_c (self->output, self->mode_char);