ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/listener.c
(Generate patch)

Comparing ircd-hybrid-8/src/listener.c (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1219 by michael, Sun Sep 18 09:02:38 2011 UTC

# Line 99 | Line 99 | show_ports(struct Client *source_p)
99      p = buf;
100  
101      if (listener->flags & LISTENER_HIDDEN) {
102 <      if (!IsAdmin(source_p))
102 >      if (!HasUMode(source_p, UMODE_ADMIN))
103          continue;
104        *p++ = 'H';
105      }
# Line 111 | Line 111 | show_ports(struct Client *source_p)
111      *p = '\0';
112      sendto_one(source_p, form_str(RPL_STATSPLINE),
113                 me.name, source_p->name, 'P', listener->port,
114 <               IsAdmin(source_p) ? listener->name : me.name,
114 >               HasUMode(source_p, UMODE_ADMIN) ? listener->name : me.name,
115                 listener->ref_count, buf,
116                 listener->active ? "active" : "disabled");
117    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines