0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

whois: Fix UID leak.

The second parameter of WHOIS is always a nick.
This commit is contained in:
Jilles Tjoelker 2013-02-14 23:45:22 +01:00
parent 2db1f25df5
commit 2ebef8d925

View file

@ -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)