483 |
|
&unknown_list, &local_client_list); |
484 |
|
|
485 |
|
user_welcome(client_p); |
486 |
< |
userhost_add(client_p->username, client_p->host, 0); |
486 |
> |
userhost_add(client_p->sockhost, 0); |
487 |
|
AddFlag(client_p, FLAGS_USERHOST); |
488 |
|
|
489 |
|
introduce_client(client_p); |
534 |
|
SetClient(client_p); |
535 |
|
dlinkAdd(client_p, &client_p->lnode, &client_p->servptr->serv->client_list); |
536 |
|
dlinkAdd(client_p, &client_p->node, &global_client_list); |
537 |
< |
userhost_add(client_p->username, client_p->host, 1); |
537 |
> |
userhost_add(client_p->sockhost, 1); |
538 |
|
AddFlag(client_p, FLAGS_USERHOST); |
539 |
|
|
540 |
|
if (HasFlag(client_p->servptr, FLAGS_EOB)) |
752 |
|
client_p->name, client_p->username, |
753 |
|
client_p->host, client_p->username, hostname); |
754 |
|
|
755 |
– |
if (HasFlag(client_p, FLAGS_USERHOST)) |
756 |
– |
userhost_del(client_p->username, client_p->host, !MyConnect(client_p)); |
757 |
– |
|
755 |
|
strlcpy(client_p->host, hostname, sizeof(client_p->host)); |
756 |
|
|
760 |
– |
userhost_add(client_p->username, client_p->host, !MyConnect(client_p)); |
761 |
– |
AddFlag(client_p, FLAGS_USERHOST); |
762 |
– |
|
757 |
|
if (MyConnect(client_p)) |
758 |
|
{ |
759 |
|
sendto_one_numeric(client_p, &me, RPL_VISIBLEHOST, client_p->host); |