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

Comparing ircd-hybrid-8/modules/m_userhost.c (file contents):
Revision 1243 by michael, Fri Sep 30 10:47:53 2011 UTC vs.
Revision 1405 by michael, Thu May 10 20:56:39 2012 UTC

# Line 77 | Line 77 | m_userhost(struct Client *client_p, stru
77        else
78        {
79          rl = ircsprintf(response, "%s%s=%c%s@%s ",
80 <                        target_p->name,
81 <                        HasUMode(target_p, UMODE_OPER) ? "*" : "",
80 >                        target_p->name, (HasUMode(target_p, UMODE_OPER) &&
81 >                                         (!HasUMode(target_p, UMODE_HIDDEN) ||
82 >                                           HasUMode(source_p, UMODE_OPER))) ? "*" : "",
83                          (target_p->away) ? '-' : '+',
84                          target_p->username,
85                          target_p->host);

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)