More lose MODE command handling
This commit is contained in:
parent
5d6b7fedaf
commit
5b26dac489
@ -1717,8 +1717,9 @@ static int irc_mode(struct link_server *server, struct line *line)
|
|||||||
case 'e':
|
case 'e':
|
||||||
case 'q':
|
case 'q':
|
||||||
case 'I':
|
case 'I':
|
||||||
if (!irc_line_includes(line, cur_arg + 3))
|
/* Sucky way to try to deal with all the different mode
|
||||||
return ERR_PROTOCOL;
|
* out there... */
|
||||||
|
if (irc_line_includes(line, cur_arg + 3))
|
||||||
cur_arg++;
|
cur_arg++;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user