/[svn]/branches/newio/modules/m_whois.c
ViewVC logotype

Diff of /branches/newio/modules/m_whois.c

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

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

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

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