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

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

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

revision 509 by michael, Sat Mar 4 08:20:28 2006 UTC revision 510 by michael, Sat Mar 4 08:37:51 2006 UTC
# Line 515  register_remote_user(struct Client *clie Line 515  register_remote_user(struct Client *clie
515    strlcpy(source_p->info, realname, sizeof(source_p->info));    strlcpy(source_p->info, realname, sizeof(source_p->info));
516    strlcpy(source_p->username, username, sizeof(source_p->username));    strlcpy(source_p->username, username, sizeof(source_p->username));
517    
   /* Increment our total user count here */  
   if (++Count.total > Count.max_tot)  
     Count.max_tot = Count.total;  
   
   source_p->from->serv->dep_users++;  
   
518    /*    /*
519     * coming from another server, take the servers word for it     * coming from another server, take the servers word for it
520     */     */
# Line 558  register_remote_user(struct Client *clie Line 552  register_remote_user(struct Client *clie
552      return;      return;
553    }    }
554    
555      /* Increment our total user count here */
556      if (++Count.total > Count.max_tot)
557        Count.max_tot = Count.total;
558    
559      ++source_p->from->serv->dep_users;
560    
561    SetClient(source_p);    SetClient(source_p);
562    dlinkAdd(source_p, &source_p->lnode, &source_p->servptr->serv->users);    dlinkAdd(source_p, &source_p->lnode, &source_p->servptr->serv->users);
563    add_user_host(source_p->username, source_p->host, 1);    add_user_host(source_p->username, source_p->host, 1);

Legend:
Removed from v.509  
changed lines
  Added in v.510

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