1
0
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:
Bram Matthys
2015-09-07 11:58:31 +02:00
parent 926bbbcec9
commit ec8a7215bd
+1 -1
View File
@@ -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, '/');