summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-10 18:00:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-10 18:00:35 +0000
commitbf517cb0ad1a1302ff828dbe27691a0b355720b2 (patch)
tree124134af606015db9d9e0a51324861a38733f68f /src/modules
parentf0235432d1faad2f89c3abc0abd609e004919ed6 (diff)
Clarifying comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 86a00a241..f518151e9 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -346,6 +346,8 @@ bool TreeSocket::RemoteKill(const std::string &prefix, std::deque<std::string> &
std::string reason = params[1];
params[1] = ":" + params[1];
Utils->DoOneToAllButSender(prefix,"KILL",params,prefix);
+ // NOTE: This is safe with kill hiding on, as RemoteKill is only reached if we have a server prefix.
+ // in short this is not executed for USERS.
who->Write(":%s KILL %s :%s (%s)", prefix.c_str(), who->nick, prefix.c_str(), reason.c_str());
userrec::QuitUser(this->Instance,who,reason);
}