From 8d11a49b12b7490d24de248052beae73348fb429 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Thu, 10 Dec 2015 08:54:57 +0100 Subject: Fix bug with ops_mode so it will work properly --- irc_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: */ -- cgit v1.2.3