/[svn]/ircd-hybrid/trunk/src/s_user.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/s_user.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1643 by michael, Sun Nov 4 15:37:10 2012 UTC revision 1644 by michael, Tue Nov 6 22:20:16 2012 UTC
# Line 311  register_local_user(struct Client *sourc Line 311  register_local_user(struct Client *sourc
311    /* Straight up the maximum rate of flooding... */    /* Straight up the maximum rate of flooding... */
312    source_p->localClient->allow_read = MAX_FLOOD_BURST;    source_p->localClient->allow_read = MAX_FLOOD_BURST;
313    
314    if (!execute_callback(client_check_cb, source_p, source_p->username))    if (!check_client(source_p))
315      return;      return;
316    
317    if (valid_hostname(source_p->host) == 0)    if (valid_hostname(source_p->host) == 0)
# Line 1195  void Line 1195  void
1195  oper_up(struct Client *source_p)  oper_up(struct Client *source_p)
1196  {  {
1197    const unsigned int old = source_p->umodes;    const unsigned int old = source_p->umodes;
1198    const struct MaskItem *conf = NULL;    const struct MaskItem *conf = source_p->localClient->confs.head->data;
1199    
1200    assert(source_p->localClient->confs.head);    assert(source_p->localClient->confs.head);
   conf = source_p->localClient->confs.head->data;  
1201    
1202    ++Count.oper;    ++Count.oper;
1203    SetOper(source_p);    SetOper(source_p);

Legend:
Removed from v.1643  
changed lines
  Added in v.1644

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28