/ is a host character and not a nick character, so make pretty_mask treat it as such

This commit is contained in:
Stephen Bennett 2009-04-20 08:42:41 -05:00
parent 59bb80930d
commit 1229514e6d
1 changed files with 1 additions and 1 deletions

View 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;