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.3/src/s_user.c (file contents):
Revision 1125 by michael, Sun Feb 20 13:44:39 2011 UTC vs.
Revision 1126 by michael, Sun Feb 20 14:30:12 2011 UTC

# Line 284 | Line 284 | register_local_user(struct Client *sourc
284    const char *id = NULL;
285    const struct AccessItem *aconf = NULL;
286    dlink_node *ptr = NULL;
287  dlink_node *m = NULL;
287  
288    assert(source_p != NULL);
289    assert(source_p == source_p->from);
# Line 473 | Line 472 | register_local_user(struct Client *sourc
472  
473    assert(dlinkFind(&unknown_list, source_p));
474  
475 <  if ((m = dlinkFindDelete(&unknown_list, source_p)) != NULL)
476 <  {
478 <    free_dlink_node(m);
479 <    dlinkAdd(source_p, &source_p->localClient->lclient_node, &local_client_list);
480 <  }
475 >  dlink_move_node(&source_p->localClient->lclient_node,
476 >                  &unknown_list, &local_client_list);
477  
478    user_welcome(source_p);
479    add_user_host(source_p->username, source_p->host, 0);

Diff Legend

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