count one mode arg on +e

This commit is contained in:
nohar 2006-03-07 21:33:10 +00:00
parent 7c26143977
commit 1b22c1acf6
1 changed files with 2 additions and 2 deletions

View File

@ -1610,12 +1610,12 @@ static int irc_mode(struct link_server *server, struct line *line)
}
break;
case 'l':
if (add) {
if (add)
cur_arg++;
}
break;
case 'h':
case 'H':
case 'e':
if (cur_arg + 3 >= line->elemc)
return ERR_PROTOCOL;
cur_arg++;