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

Comparing ircd-hybrid/trunk/src/s_user.c (file contents):
Revision 1632 by michael, Sun Nov 4 15:37:10 2012 UTC vs.
Revision 1644 by michael, Tue Nov 6 22:20:16 2012 UTC

# Line 311 | Line 311 | register_local_user(struct Client *sourc
311    /* Straight up the maximum rate of flooding... */
312    source_p->localClient->allow_read = MAX_FLOOD_BURST;
313  
314 <  if (!execute_callback(client_check_cb, source_p, source_p->username))
314 >  if (!check_client(source_p))
315      return;
316  
317    if (valid_hostname(source_p->host) == 0)
# Line 1195 | Line 1195 | void
1195   oper_up(struct Client *source_p)
1196   {
1197    const unsigned int old = source_p->umodes;
1198 <  const struct MaskItem *conf = NULL;
1198 >  const struct MaskItem *conf = source_p->localClient->confs.head->data;
1199  
1200    assert(source_p->localClient->confs.head);
1201  conf = source_p->localClient->confs.head->data;
1201  
1202    ++Count.oper;
1203    SetOper(source_p);

Diff Legend

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