summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 16:33:35 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-11 16:33:35 +0000
commitd366c5bb5db1151d5ad078fcf1e1b3e1d1ed8f71 (patch)
tree959cdc4c414da95b6df2aeaa2e8a98547110b0fa
parent4fa8511c80614427f70b62a5c74e0cbada7bbe21 (diff)
Fix KILL server-notice duplication
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10517 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index caaac5ebe..c14687804 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -687,6 +687,7 @@ void ModuleSpanningTree::OnUserKick(User* source, User* user, Channel* chan, con
void ModuleSpanningTree::OnRemoteKill(User* source, User* dest, const std::string &reason, const std::string &operreason)
{
+ if (!IS_LOCAL(source)) return; // Only start routing if we're origin.
std::deque<std::string> params;
params.push_back(":"+reason);
Utils->DoOneToMany(dest->uuid,"OPERQUIT",params);