summaryrefslogtreecommitdiff
path: root/src/operserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/operserv.c')
-rw-r--r--src/operserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operserv.c b/src/operserv.c
index 2d643aa01..92130c790 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -3096,7 +3096,7 @@ static int do_sqline(User * u)
if (mask && (reason = strtok(NULL, ""))) {
/* We first do some sanity check on the proposed mask. */
- if (strspn(mask, "*?") == strlen(mask)) {
+ if (strspn(mask, "*") == strlen(mask)) {
notice_lang(s_OperServ, u, USERHOST_MASK_TOO_WIDE, mask);
return MOD_CONT;
}