diff options
| author | 2012-11-29 15:31:08 +0100 | |
|---|---|---|
| committer | 2012-11-29 16:25:36 +0100 | |
| commit | b4034e2231afcfcb5cf29156288c666d90831fed (patch) | |
| tree | 255570e4185622e07b39a292821b59e44d8092a7 /src/modules/m_spanningtree/main.cpp | |
| parent | Merge pull request #374 from rburchell/ldapauth_vhosts (diff) | |
| download | inspircd++-b4034e2231afcfcb5cf29156288c666d90831fed.tar.gz inspircd++-b4034e2231afcfcb5cf29156288c666d90831fed.tar.bz2 inspircd++-b4034e2231afcfcb5cf29156288c666d90831fed.zip | |
cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop
Fixes #375 reported by @JDowny
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index b8540cf27..ffc466a82 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -754,6 +754,9 @@ void ModuleSpanningTree::OnRemoteKill(User* source, User* dest, const std::strin void ModuleSpanningTree::OnPreRehash(User* user, const std::string ¶meter) { + if (loopCall) + return; // Don't generate a REHASH here if we're in the middle of processing a message that generated this one + ServerInstance->Logs->Log("remoterehash", DEBUG, "called with param %s", parameter.c_str()); // Send out to other servers |
