1
0
forked from bip/bip

Fix info user parsing.

This commit is contained in:
Arnaud Cornet 2009-03-25 11:40:19 +01:00
parent 3166a57022
commit 9187d556b5

View File

@ -2165,7 +2165,7 @@ 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 + 3,
if (admin && irc_line_elem_case_equals(line, privmsg + 2,
"user") == 0) {
if (irc_line_count(line) == privmsg + 4) {
adm_info_user(ic,