aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar aquanight2008-09-11 16:33:56 +0000
committerGravatar aquanight2008-09-11 16:33:56 +0000
commit0753e9aa9f9fa64e15337905151edb6e0054f890 (patch)
tree4fa072ca8b0f1f51d8f1bd7cc60b204b83faefaa /src/modules/m_spanningtree/main.cpp
parentbackport r10054 from trunk. fixes output corruption if ports fail to bind. (diff)
Backport r10517: Fix KILL server-notice duplication
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10518 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-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 76a61f85f..068e21518 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -1119,6 +1119,7 @@ void ModuleSpanningTree::OnUserKick(userrec* source, userrec* user, chanrec* cha
void ModuleSpanningTree::OnRemoteKill(userrec* source, userrec* dest, const std::string &reason, const std::string &operreason)
{
+ if (!IS_LOCAL(source)) return; // Don't need to do anything for a non-local source.
std::deque<std::string> params;
params.push_back(":"+reason);
Utils->DoOneToMany(dest->nick,"OPERQUIT",params);