mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 03:46:38 +02:00
Fix /GLINE 'ban too broad' error when the ban was perfectly OK.
This commit is contained in:
+1
-1
@@ -475,7 +475,7 @@ int ban_too_broad(char *usermask, char *hostmask)
|
||||
if (*p != '*' && *p != '.' && *p != '?')
|
||||
cnt++;
|
||||
|
||||
if (cnt < 4)
|
||||
if (cnt >= 4)
|
||||
return 0;
|
||||
|
||||
p = strchr(hostmask, '/');
|
||||
|
||||
Reference in New Issue
Block a user