mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Fix duplicate messages when a server connection errors.
This commit is contained in:
parent
63aa0a11e0
commit
3ff3810ca1
@ -419,7 +419,7 @@ void TreeSocket::Close()
|
||||
// then propagate a netsplit to all peers.
|
||||
if (MyRoot)
|
||||
MyRoot->SQuit(getError(), true);
|
||||
|
||||
else
|
||||
ServerInstance->SNO->WriteGlobalSno('l', "Connection to '\002%s\002' failed.", linkID.c_str());
|
||||
|
||||
time_t server_uptime = ServerInstance->Time() - this->age;
|
||||
|
Loading…
x
Reference in New Issue
Block a user