| 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); |
| 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 |
|
|
| 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)); |
| 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 |
|
|