]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/chmode.c
/ is a host character and not a nick character, so make pretty_mask treat it as such
[irc/rqf/shadowircd.git] / src / chmode.c
index df59c336b136ac4beacfda14676f89dcc8064105..5cbcde396e7d592a283b075347f8dc2ebe46990e 100644 (file)
@@ -381,7 +381,7 @@ pretty_mask(const char *idmask)
                if(*t != '\0')
                        user = t;
        }
-       else if(strchr(mask, '.') != NULL || strchr(mask, ':') != NULL)
+       else if(strchr(mask, '.') != NULL || strchr(mask, ':') != NULL || strchr(mask, '/') != NULL)
        {
                if(*mask != '\0')
                        host = mask;