aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: */