diff options
-rw-r--r-- | src/modules/m_spanningtree/kill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/kill.cpp b/src/modules/m_spanningtree/kill.cpp index c70ce27cb..3b33e4919 100644 --- a/src/modules/m_spanningtree/kill.cpp +++ b/src/modules/m_spanningtree/kill.cpp @@ -33,10 +33,10 @@ bool TreeSocket::RemoteKill(const std::string &prefix, std::deque<std::string> & if (who) { /* Prepend kill source, if we don't have one */ - if (*(params[1].c_str()) != '[') + if (*(params[1].c_str()) != 'K') { TreeServer* ts = Utils->FindServer(prefix); - params[1] = "[" + (ts ? ts->GetName() : prefix) + "] Killed (" + params[1] +")"; + params[1] = "Killed (" + params[1] +")"; } std::string reason = params[1]; params[1] = ":" + params[1]; |