moved delete call
This commit is contained in:
parent
01659e3ff6
commit
ac30527220
@ -792,11 +792,11 @@ void check_servers(void)
|
|||||||
tnsl->gotpass = FALSE;
|
tnsl->gotpass = FALSE;
|
||||||
tnsl->gotserver = FALSE;
|
tnsl->gotserver = FALSE;
|
||||||
tnsl->token = 0;
|
tnsl->token = 0;
|
||||||
del_router(&servers, tnsl->server);
|
|
||||||
broadcast(tnsl->server, "SQUIT %s Connection died\r\n", tnsl->server);
|
broadcast(tnsl->server, "SQUIT %s Connection died\r\n", tnsl->server);
|
||||||
callchg = TRUE;
|
callchg = TRUE;
|
||||||
srvchg = TRUE;
|
srvchg = TRUE;
|
||||||
system_shout("*** NETWORK SPLIT, lost connection with server %s", tnsl->server);
|
system_shout("*** NETWORK SPLIT, lost connection with server %s", tnsl->server);
|
||||||
|
del_router(&servers, tnsl->server);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user