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