diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_whois.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_whois.c b/modules/m_whois.c index 71e7e50..6b6d247 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -358,7 +358,7 @@ whois_person(struct Client *source_p, struct Client *target_p) RPL_WHOISOPERATOR), me.name, source_p->name, target_p->name); - if (strcmp(target_p->sockhost, "0")) + if (target_p->sockhost[0] && strcmp(target_p->sockhost, "0")) { if (HasUMode(source_p, UMODE_ADMIN) || source_p == target_p) show_ip = 1; |