Skip to content

Commit

Permalink
Fix +I ~operclass requiring an operclass block name of >3 characters.
Browse files Browse the repository at this point in the history
Reported by BlackBishop in https://bugs.unrealircd.org/view.php?id=6372

Was an old leftover check from old style extban API
  • Loading branch information
syzop committed Dec 17, 2023
1 parent 5b5a5bc commit 49e8443
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/modules/extbans/operclass.c
Expand Up @@ -85,9 +85,6 @@ const char *extban_operclass_conv_param(BanContext *b, Extban *extban)
}
}

if (retbuf[3] == '\0')
return NULL; /* just "~O:" is invalid */

return retbuf;
}

Expand Down

0 comments on commit 49e8443

Please sign in to comment.