diff --git a/src/modules/m_whox.c b/src/modules/m_whox.c index 9e754216a..b26586915 100644 --- a/src/modules/m_whox.c +++ b/src/modules/m_whox.c @@ -359,7 +359,7 @@ CMD_FUNC(m_whox) * request a full list. I presume its because of too many typos * with "/who" ;) --fl */ - if ((*(mask + 1) == '\0') && (*mask == '0')) + if (!strcmp(mask, "0")) who_global(sptr, NULL, 0, &fmt); else who_global(sptr, mask, operspy, &fmt);