ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/src/client.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/client.c (file contents):
Revision 881 by michael, Sun Oct 28 11:35:29 2007 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 998 | Line 998 | exit_client(struct Client *source_p, str
998        }
999  
1000        if (IsServer(source_p))
1001      {
1001          Count.myserver--;
1003        if (ServerInfo.hub)
1004          remove_lazylink_flags(source_p->localClient->serverMask);
1005        else
1006          uplink = NULL;
1007      }
1002      }
1003  
1004      log_user_exit(source_p);
# Line 1069 | Line 1063 | exit_client(struct Client *source_p, str
1063    }
1064    else if (IsClient(source_p) && !IsKilled(source_p))
1065    {
1066 <    sendto_server(from->from, source_p, NULL, CAP_TS6, NOCAPS, NOFLAGS,
1066 >    sendto_server(from->from, NULL, CAP_TS6, NOCAPS,
1067                    ":%s QUIT :%s", ID(source_p), comment);
1068 <    sendto_server(from->from, source_p, NULL, NOCAPS, CAP_TS6, NOFLAGS,
1068 >    sendto_server(from->from, NULL, NOCAPS, CAP_TS6,
1069                    ":%s QUIT :%s", source_p->name, comment);
1070    }
1071  
# Line 1362 | Line 1356 | set_initial_nick(struct Client *client_p
1356    /* fd_desc is long enough */
1357    fd_note(&client_p->localClient->fd, "Nick: %s", nick);
1358    
1365  /* They have the nick they want now.. */
1366  client_p->llname[0] = '\0';
1367
1359    if (!source_p->localClient->registration)
1360    {
1361      strlcpy(buf, source_p->username, sizeof(buf));
# Line 1437 | Line 1428 | change_local_nick(struct Client *client_
1428                                   source_p->host, nick);
1429      add_history(source_p, 1);
1430  
1431 <    /*
1441 <     * Only hubs care about lazy link nicks not being sent on yet
1442 <     * lazylink leafs/leafs always send their nicks up to hub,
1443 <     * hence must always propagate nick changes.
1444 <     * hubs might not propagate a nick change, if the leaf
1445 <     * does not know about that client yet.
1446 <     */
1447 <    sendto_server(client_p, source_p, NULL, CAP_TS6, NOCAPS, NOFLAGS,
1431 >    sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
1432                    ":%s NICK %s :%lu",
1433                    ID(source_p), nick, (unsigned long)source_p->tsinfo);
1434 <    sendto_server(client_p, source_p, NULL, NOCAPS, CAP_TS6, NOFLAGS,
1434 >    sendto_server(client_p, NULL, NOCAPS, CAP_TS6,
1435                    ":%s NICK %s :%lu",
1436                    source_p->name, nick, (unsigned long)source_p->tsinfo);
1437  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines