ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_whois.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_whois.c (file contents):
Revision 8429 by michael, Tue Feb 20 19:30:33 2018 UTC vs.
Revision 8430 by michael, Tue Mar 27 18:48:40 2018 UTC

# Line 193 | Line 193 | whois_person(struct Client *source_p, st
193      sendto_one_numeric(source_p, &me, RPL_WHOISSECURE, target_p->name);
194  
195    if (!EmptyString(target_p->certfp))
196 <    if (target_p == source_p || HasUMode(source_p, UMODE_OPER))
196 >    if (HasUMode(source_p, UMODE_OPER) || target_p == source_p)
197        sendto_one_numeric(source_p, &me, RPL_WHOISCERTFP, target_p->name, target_p->certfp);
198  
199    if (MyConnect(target_p))
# Line 219 | Line 219 | whois_person(struct Client *source_p, st
219   static void
220   do_whois(struct Client *source_p, const char *name)
221   {
222 <  struct Client *target_p = NULL;
222 >  struct Client *target_p;
223  
224    if ((target_p = hash_find_client(name)) && IsClient(target_p))
225      whois_person(source_p, target_p);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines