diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-01 21:45:37 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-01 21:45:37 +0000 |
commit | 8b01909f73123afafa451c17740df993902b7db4 (patch) | |
tree | 1d90affe7d8c1ffe43f0eb80e2bf511c16df20d3 /src | |
parent | a03554f504179e5e24de0c33079f3cb109f3d26e (diff) |
Fix ping server-skip logic from bug 792 fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index ad51f4019..0a6ed9390 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -195,7 +195,7 @@ void ModuleSpanningTree::DoPingChecks(time_t curtime) // Fix for bug #792, do not ping servers that are not connected yet! // Remote servers have Socket == NULL and local connected servers have // Socket->LinkState == CONNECTED - if (!s->GetSocket() || s->GetSocket()->GetLinkState() == CONNECTED) + if (s->GetSocket() && s->GetSocket()->GetLinkState() != CONNECTED) continue; // Now do PING checks on all servers |