diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-12 08:32:08 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-12 08:32:08 +0000 |
commit | 34d9fed558ea00b7af9624325c50caef802fb745 (patch) | |
tree | d3de429d017ea0e8f552208774dae58af7f230bd /modules/m_whois.c | |
parent | 29362b0aac2e2deb15ed1f9673ac5989813e45ec (diff) |
- Forward-port -r1810 [m_whois.c: fixed bug where TS5 servers would send an
empty RPL_WHOISACTUALLY numeric]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1811 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_whois.c')
-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; |