diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 763c9302..61c6239c 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -162,7 +162,7 @@ IRC_WHO_Channel(CLIENT *Client, CHANNEL *Chan, bool OnlyOps) if (OnlyOps && !is_ircop) continue; - is_visible = Client_HasMode(c, 'i'); + is_visible = !Client_HasMode(c, 'i'); if (is_member || is_visible) { memset(flags, 0, sizeof(flags));