From 4ef6f6ec2dd004a9bb594c185c4c91664665559f Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 18 Jun 2015 08:27:45 +0200
Subject: kike: fix changing channel modes
---
kike.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
cgit v1.2.3-70-g09d2