diff options
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2728,7 +2728,7 @@ irc_try_join (struct client *c, const char *channel_name, const char *key) else if (channel_get_user (chan, c)) return; - bool invited_by_chanop = str_map_find (&c->invites, channel_name); + bool invited_by_chanop = !!str_map_find (&c->invites, channel_name); if ((chan->modes & IRC_CHAN_MODE_INVITE_ONLY) && !client_in_mask_list (c, &chan->invite_list) && !invited_by_chanop) |