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

Comparing ircd-hybrid-8/src/s_user.c (file contents):
Revision 1458 by michael, Fri Jul 6 10:27:33 2012 UTC vs.
Revision 1469 by michael, Sat Jul 21 20:11:48 2012 UTC

# Line 1202 | Line 1202 | check_xline(struct Client *source_p)
1202   void
1203   oper_up(struct Client *source_p)
1204   {
1205 <  unsigned int old = source_p->umodes;
1206 <  const char *operprivs = "";
1205 >  const unsigned int old = source_p->umodes;
1206    const struct AccessItem *oconf = NULL;
1207  
1208    assert(source_p->localClient->confs.head);
# Line 1225 | Line 1224 | oper_up(struct Client *source_p)
1224    assert(dlinkFind(&oper_list, source_p) == NULL);
1225    dlinkAdd(source_p, make_dlink_node(), &oper_list);
1226  
1228  operprivs = oper_privs_as_string(oconf->port);
1229
1227    AddOFlag(source_p, oconf->port);
1228  
1229    if (HasOFlag(source_p, OPER_FLAG_ADMIN))
# Line 1238 | Line 1235 | oper_up(struct Client *source_p)
1235                         get_oper_name(source_p));
1236    send_umode_out(source_p, source_p, old);
1237    sendto_one(source_p, form_str(RPL_YOUREOPER), me.name, source_p->name);
1241  sendto_one(source_p, ":%s NOTICE %s :*** Oper privs are %s",
1242             me.name, source_p->name, operprivs);
1238   }
1239  
1240   static char new_uid[TOTALSIDUID + 1];     /* allow for \0 */

Diff Legend

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