exit_unknown_client: don't delete servers from the client hash
Outgoing servers are not added to the client hash until they reach IsServer() status, so if they're unknown when they exit then don't attempt to delete them.
This commit is contained in:
parent
754c1edf2e
commit
55735d9d7e
1 changed files with 2 additions and 1 deletions
|
@ -1322,7 +1322,8 @@ exit_unknown_client(struct Client *client_p, struct Client *source_p, struct Cli
|
||||||
del_from_id_hash(source_p->id, source_p);
|
del_from_id_hash(source_p->id, source_p);
|
||||||
|
|
||||||
del_from_hostname_hash(source_p->host, source_p);
|
del_from_hostname_hash(source_p->host, source_p);
|
||||||
del_from_client_hash(source_p->name, source_p);
|
if (!IsAnyServer(source_p))
|
||||||
|
del_from_client_hash(source_p->name, source_p);
|
||||||
remove_client_from_list(source_p);
|
remove_client_from_list(source_p);
|
||||||
SetDead(source_p);
|
SetDead(source_p);
|
||||||
rb_dlinkAddAlloc(source_p, &dead_list);
|
rb_dlinkAddAlloc(source_p, &dead_list);
|
||||||
|
|
Loading…
Reference in a new issue