Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / ircd / support.c
index ac1f7d49be7bb89d6e0dd7013aceea63cbdb7dd0..93a94e362bc6235c112e19aecc7926020671b821 100644 (file)
@@ -42,7 +42,7 @@ int check_if_ipmask(const char *mask)
   const char *p;
 
   for (p = mask; *p; ++p)
-    if (*p != '*' && *p != '?' && *p != '.')
+    if (*p != '*' && *p != '?' && *p != '.' && *p != '/')
     {
       if (!IsDigit(*p))
         return 0;