aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-12-10 08:54:57 +0100
committerMarius Halden <marius.h@lden.org>2016-05-07 14:27:16 +0200
commit8d11a49b12b7490d24de248052beae73348fb429 (patch)
tree584c5ee116272c02aa6f573e9bf227c1406a8a43
parentce4ce55ea34dc778a5a3d06cd13650b599c74a03 (diff)
Fix bug with ops_mode so it will work properly
-rw-r--r--irc_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_channel.c b/irc_channel.c
index df8dc22e..583b6d20 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -743,7 +743,7 @@ char *set_eval_irc_channel_ops_mode(set_t *set, char *value)
irc_channel_update_ops(l->data, set_getstr(&irc->b->set, "ops"), value);
}
- return 0;
+ return value;
}
/* Channel-type dependent functions, for control channels: */