--UserStats.opers;
if (MyConnect(bcptr))
Count_clientdisconnects(bcptr, UserStats);
- else
+ else {
Count_remoteclientquits(UserStats, bcptr);
+ ip_registry_remote_disconnect(bcptr);
+ }
}
else if (IsServer(bcptr))
{
else if (IsUnknown(bcptr) || IsConnecting(bcptr) || IsHandshake(bcptr))
Count_unknowndisconnects(UserStats);
- /* Update IPregistry */
- ip_registry_disconnect(bcptr);
-
/*
* Remove from serv->client_list
time_t on_for;
#endif
char comment1[HOSTLEN + HOSTLEN + 2];
-
+ assert(killer);
if (MyConnect(victim)) {
victim->flags |= FLAGS_CLOSING;
update_load();