diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-27 23:23:21 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-27 23:23:21 +0000 |
commit | 4387918fd764a5c7c4464d0252ca57b10a2927b9 (patch) | |
tree | 9ef5a3b8f79ce175ff69148711f9f73888a3c602 /src | |
parent | fb07f6293eec3ecb9916dc30f9dcdc0ab92eedfb (diff) |
Don't append server name to kill reasons.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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]; |