kike: fix changing channel modes
This commit is contained in:
parent
87a44fb807
commit
4ef6f6ec2d
2
kike.c
2
kike.c
|
@ -1780,7 +1780,7 @@ static bool
|
||||||
mode_processor_do_chan (struct mode_processor *self, int mode)
|
mode_processor_do_chan (struct mode_processor *self, int mode)
|
||||||
{
|
{
|
||||||
if (!mode_processor_check_operator (self)
|
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;
|
return false;
|
||||||
|
|
||||||
str_append_c (self->output, self->mode_char);
|
str_append_c (self->output, self->mode_char);
|
||||||
|
|
Loading…
Reference in New Issue