fix /bip user info command
This commit is contained in:
parent
dc43d75d1f
commit
399a104d1e
@ -1997,9 +1997,8 @@ int adm_bip(bip_t *bip, struct link_client *ic, struct line *line, int privmsg)
|
|||||||
return OK_FORGET;
|
return OK_FORGET;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (admin && irc_line_elem_case_equals(line, privmsg + 2,
|
if (admin && irc_line_elem_case_equals(line, privmsg + 2, "user")) {
|
||||||
"user") == 0) {
|
if (irc_line_count(line) == (privmsg + 4)) {
|
||||||
if (irc_line_count(line) == privmsg + 4) {
|
|
||||||
adm_info_user(ic,
|
adm_info_user(ic,
|
||||||
irc_line_elem(line, privmsg + 3));
|
irc_line_elem(line, privmsg + 3));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user