Support channel modes q and I (oftc)

This commit is contained in:
Arnaud Cornet 2008-06-01 10:27:52 +02:00
parent 604eb26ec6
commit fc546e9db8
1 changed files with 2 additions and 1 deletions

View File

@ -1584,7 +1584,6 @@ static int irc_mode(struct link_server *server, struct line *line)
cur_arg++;
break;
case 'o':
if (cur_arg + 3 >= line->elemc)
return ERR_PROTOCOL;
@ -1633,6 +1632,8 @@ static int irc_mode(struct link_server *server, struct line *line)
case 'h':
case 'H':
case 'e':
case 'q':
case 'I':
if (cur_arg + 3 >= line->elemc)
return ERR_PROTOCOL;
cur_arg++;