/[svn]/ircd-hybrid/trunk/modules/m_whois.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_whois.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2726 by michael, Wed Nov 20 20:46:57 2013 UTC revision 2727 by michael, Sun Dec 29 13:28:03 2013 UTC
# Line 132  whois_person(struct Client *source_p, st Line 132  whois_person(struct Client *source_p, st
132    
133    if (HasUMode(target_p, UMODE_OPER))    if (HasUMode(target_p, UMODE_OPER))
134      if (!HasUMode(target_p, UMODE_HIDDEN) || HasUMode(source_p, UMODE_OPER))      if (!HasUMode(target_p, UMODE_HIDDEN) || HasUMode(source_p, UMODE_OPER))
135        sendto_one(source_p, form_str(HasUMode(target_p, UMODE_ADMIN) ? RPL_WHOISADMIN :        sendto_one(source_p, form_str(RPL_WHOISOPERATOR), me.name,
136                   RPL_WHOISOPERATOR),                   source_p->name, target_p->name,
137                   me.name, source_p->name, target_p->name);                   HasUMode(target_p, UMODE_ADMIN) ? "is a Server Administrator" :
138                                                       "is an IRC Operator");
139    
140    if (HasUMode(target_p, UMODE_WEBIRC))    if (HasUMode(target_p, UMODE_WEBIRC))
141      sendto_one(source_p, form_str(RPL_WHOISTEXT),      sendto_one(source_p, form_str(RPL_WHOISTEXT),

Legend:
Removed from v.2726  
changed lines
  Added in v.2727

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28