fix whois :)

This commit is contained in:
William Pitcock 2008-04-06 12:04:25 -05:00
parent 3318e109f9
commit af7aaa8444
4 changed files with 11 additions and 2 deletions

View file

@ -327,6 +327,10 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
GlobalSetOptions.operstring));
}
if(IsSSLClient(target_p))
sendto_one_numeric(source_p, RPL_WHOISSECURE, form_str(RPL_WHOISSECURE),
target_p->name);
if(MyClient(target_p))
{
if (IsDynSpoof(target_p) && (IsOper(source_p) || source_p == target_p))