diff --git a/src/bip.c b/src/bip.c index 4f073a4..cabfdfe 100644 --- a/src/bip.c +++ b/src/bip.c @@ -1997,9 +1997,8 @@ int adm_bip(bip_t *bip, struct link_client *ic, struct line *line, int privmsg) return OK_FORGET; } - if (admin && irc_line_elem_case_equals(line, privmsg + 2, - "user") == 0) { - if (irc_line_count(line) == privmsg + 4) { + if (admin && irc_line_elem_case_equals(line, privmsg + 2, "user")) { + if (irc_line_count(line) == (privmsg + 4)) { adm_info_user(ic, irc_line_elem(line, privmsg + 3)); } else {