From d366c5bb5db1151d5ad078fcf1e1b3e1d1ed8f71 Mon Sep 17 00:00:00 2001 From: aquanight Date: Thu, 11 Sep 2008 16:33:35 +0000 Subject: Fix KILL server-notice duplication git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10517 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_spanningtree') 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 params; params.push_back(":"+reason); Utils->DoOneToMany(dest->uuid,"OPERQUIT",params); -- cgit v1.2.3