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-7.2/src/s_user.c (file contents):
Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC vs.
Revision 980 by michael, Sun Aug 9 12:51:45 2009 UTC

# Line 381 | Line 381 | register_local_user(struct Client *clien
381    /* report if user has &^>= etc. and set flags as needed in source_p */
382    report_and_set_user_flags(source_p, aconf);
383  
384 +  if (IsDead(client_p))
385 +    return;
386 +
387    /* Limit clients -
388     * We want to be able to have servers and F-line clients
389     * connect, so save room for "buffer" connections.
# Line 418 | Line 421 | register_local_user(struct Client *clien
421    if (check_xline(source_p))
422      return;
423  
421  if (IsDead(client_p))
422    return;
423
424    if (me.id[0])
425    {
426      const char *id = execute_callback(uid_get_cb, source_p);
# Line 453 | Line 453 | register_local_user(struct Client *clien
453                         source_p->info);
454  
455  
456  /* If they have died in send_* don't do anything. */
457  if (IsDead(source_p))
458    return;
459
456    if (ConfigFileEntry.invisible_on_connect)
457    {
458      source_p->umodes |= UMODE_INVISIBLE;
459 <    Count.invisi++;
459 >    ++Count.invisi;
460    }
461  
462    if ((++Count.local) > Count.max_loc)

Diff Legend

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