diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-13 17:47:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-13 17:47:53 +0000 |
commit | 916b3e4005042099b9853b1c82fa1a2aeb87d26c (patch) | |
tree | 1640612fdeb62dc61e79ef64c0cac43666f7540f /src/modules/m_spanningtree/main.cpp | |
parent | f45f5c17f03e2303e26f93083eb97ec08bef7d78 (diff) |
Fix remote bursting with quietbursts, before QA actually test it :P (thanks HiroP)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7014 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 4dc6eedc0..ab1908224 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -485,6 +485,12 @@ void ModuleSpanningTree::DoPingChecks(time_t curtime) } } } + + /* Cancel remote burst mode on any servers which still have it enabled due to latency/lack of data. + * This prevents lost REMOTECONNECT notices + */ + for (server_hash::iterator i = Utils->serverlist.begin(); i != Utils->serverlist.end(); i++) + Utils->SetRemoteBursting(i->second, false); } void ModuleSpanningTree::ConnectServer(Link* x) |