X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/7e132ff005ceacc292fc76ea94cebe0fdb79109a..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_whois.c diff --git a/modules/m_whois.c b/modules/m_whois.c index f06329cd..65b169b0 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -189,11 +189,7 @@ do_whois(struct Client *client_p, struct Client *source_p, int parc, const char nick++; } - if(MyClient(source_p)) - target_p = find_named_person(nick); - else - target_p = find_person(nick); - + target_p = find_named_person(nick); if(target_p != NULL) { if(operspy)