extb_usermode: should use EXTBAN_INVALID if no modestring is provided
This commit is contained in:
parent
0b18e32cad
commit
11f2e78727
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ static int eb_usermode(const char *data, struct Client *client_p,
|
|||
|
||||
/* $m must have a specified mode */
|
||||
if (data == NULL)
|
||||
return EXTBAN_NOMATCH;
|
||||
return EXTBAN_INVALID;
|
||||
|
||||
for (p = data; *p != '\0'; p++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue