diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index f246a2dac..30a961e96 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -32,7 +32,7 @@ using namespace std; #include "inspstring.h" #include "helperfuncs.h" - +extern bool has_been_netsplit; extern std::vector<Module*> modules; extern std::vector<ircd_module*> factory; @@ -200,6 +200,7 @@ bool ircd_connector::CheckPing() this->CloseConnection(); this->SetState(STATE_DISCONNECTED); WriteOpers("*** Ping timeout on link to %s (more routes may remain)",this->GetServerName().c_str()); + has_been_netsplit = true; return false; } } |