aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-06-18 08:27:45 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-06-18 08:34:37 +0200
commit4ef6f6ec2dd004a9bb594c185c4c91664665559f (patch)
tree08586b57ccdfecfa27a9436056a66ece99f93be7
parent87a44fb8070da327e777c8dfbfdbd7fcaa34d416 (diff)
downloadxK-4ef6f6ec2dd004a9bb594c185c4c91664665559f.tar.gz
xK-4ef6f6ec2dd004a9bb594c185c4c91664665559f.tar.xz
xK-4ef6f6ec2dd004a9bb594c185c4c91664665559f.zip
kike: fix changing channel modes
-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);