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

Comparing ircd-hybrid-8/src/s_conf.c (file contents):
Revision 1218 by michael, Sun Aug 14 11:24:24 2011 UTC vs.
Revision 1219 by michael, Sun Sep 18 09:02:38 2011 UTC

# Line 697 | Line 697 | report_confitem_types(struct Client *sou
697        aconf = map_to_conf(conf);
698  
699        /* Don't allow non opers to see oper privs */
700 <      if (IsOper(source_p))
700 >      if (HasUMode(source_p, UMODE_OPER))
701          sendto_one(source_p, form_str(RPL_STATSOLINE),
702                     me.name, source_p->name, 'O', aconf->user, aconf->host,
703                     conf->name, oper_privs_as_string(aconf->port),
# Line 764 | Line 764 | report_confitem_types(struct Client *sou
764        /*
765         * Allow admins to see actual ips unless hide_server_ips is enabled
766         */
767 <      if (!ConfigServerHide.hide_server_ips && IsAdmin(source_p))
767 >      if (!ConfigServerHide.hide_server_ips && HasUMode(source_p, UMODE_ADMIN))
768          sendto_one(source_p, form_str(RPL_STATSCLINE),
769                     me.name, source_p->name, 'C', aconf->host,
770                     buf, conf->name, aconf->port,
# Line 3344 | Line 3344 | parse_aline(const char *cmd, struct Clie
3344          return -1;
3345        }
3346  
3347 <      if (!IsOperRemoteBan(source_p))
3347 >      if (!HasOFlag(source_p, OPER_FLAG_REMOTEBAN))
3348        {
3349          sendto_one(source_p, form_str(ERR_NOPRIVS),
3350                     me.name, source_p->name, "remoteban");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines