diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index f6762b9a0..fd3673ccb 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1204,6 +1204,11 @@ class TreeSocket : public InspSocket userrec* who = Srv->FindNick(nick); if (who) { + /* Append kill source, if we don't have one */ + if (*(params[1].c_str()) != '[') + { + params[1] = "[" + std::string(u->server) + "] Killed (" + params[1] +")"; + } std::string sourceserv = prefix; if (u) { |