diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-06 17:11:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-06 17:11:31 +0000 |
commit | f1a3fd1d46db7ac33637336e6ba479f1d3c55a17 (patch) | |
tree | 0240873c81fb08fd9c002193cb0aaa487ef0899f | |
parent | 5d416d79a7d1ec35fef3527c1f7b7b4126d5ec48 (diff) |
Fixed remote kill reasons when no source server is specified
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2234 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index fd3673ccb..9fed5da60 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1199,7 +1199,6 @@ class TreeSocket : public InspSocket if (params.size() != 2) return true; std::string nick = params[0]; - std::string reason = params[1]; userrec* u = Srv->FindNick(prefix); userrec* who = Srv->FindNick(nick); if (who) @@ -1216,7 +1215,7 @@ class TreeSocket : public InspSocket } params[1] = ":" + params[1]; DoOneToAllButSender(prefix,"KILL",params,sourceserv); - Srv->QuitUser(who,reason); + Srv->QuitUser(who,params[1]); } return true; } |