summaryrefslogtreecommitdiff
path: root/modules/m_whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_whois.c')
-rw-r--r--modules/m_whois.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_whois.c b/modules/m_whois.c
index 682fc10..601c148 100644
--- a/modules/m_whois.c
+++ b/modules/m_whois.c
@@ -212,7 +212,7 @@ global_whois(struct Client *source_p, const char *nick)
if (!IsClient(target_p))
continue;
- if (!match(nick, target_p->name))
+ if (match(nick, target_p->name))
continue;
assert(target_p->servptr != NULL);