diff options
author | Marius Halden <marius.h@lden.org> | 2015-12-10 08:54:57 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:27:16 +0200 |
commit | 8d11a49b12b7490d24de248052beae73348fb429 (patch) | |
tree | 584c5ee116272c02aa6f573e9bf227c1406a8a43 | |
parent | ce4ce55ea34dc778a5a3d06cd13650b599c74a03 (diff) |
Fix bug with ops_mode so it will work properly
-rw-r--r-- | irc_channel.c | 2 |
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: */ |