summaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kike.c b/kike.c
index 1ec9099..c135ba9 100644
--- a/kike.c
+++ b/kike.c
@@ -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);