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

Diff of /ircd-hybrid/src/client.c

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

revision 510 by michael, Fri Mar 3 19:49:25 2006 UTC revision 511 by michael, Sat Mar 4 08:51:36 2006 UTC
# Line 1481  change_local_nick(struct Client *client_ Line 1481  change_local_nick(struct Client *client_
1481                                   source_p->host, nick);                                   source_p->host, nick);
1482    
1483      add_history(source_p, 1);      add_history(source_p, 1);
1484              
          /* Only hubs care about lazy link nicks not being sent on yet  
            * lazylink leafs/leafs always send their nicks up to hub,  
            * hence must always propagate nick changes.  
            * hubs might not propagate a nick change, if the leaf  
            * does not know about that client yet.  
            */  
1485      sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS,      sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS,
1486                    ":%s NICK %s :%lu",                    ":%s NICK %s :%lu",
1487                    ID(source_p), nick, (unsigned long)source_p->tsinfo);                    ID(source_p), nick, (unsigned long)source_p->tsinfo);
# Line 1507  change_local_nick(struct Client *client_ Line 1501  change_local_nick(struct Client *client_
1501    assert(source_p->name[0]);    assert(source_p->name[0]);
1502    
1503    hash_del_client(source_p);    hash_del_client(source_p);
1504    
1505    if (!samenick)    if (!samenick)
1506      hash_check_watch(source_p, RPL_LOGOFF);      hash_check_watch(source_p, RPL_LOGOFF);
1507    strcpy(source_p->name, nick);    strcpy(source_p->name, nick);

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

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