From e4ed42df1b9bd5536d695e7ace6214faf2465758 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 17 Jun 2006 13:36:54 +0000 Subject: Fix to send KILL message through to a user when theyre remote killed git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4026 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index bff983de8..5808f5080 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1639,6 +1639,7 @@ class TreeSocket : public InspSocket std::string reason = params[1]; params[1] = ":" + params[1]; DoOneToAllButSender(prefix,"KILL",params,sourceserv); + ::Write(who->fd, ":%s KILL %s :%s (%s)", sourceserv.c_str(), who->nick, sourceserv.c_str(), reason.c_str()); Srv->QuitUser(who,reason); } return true; -- cgit v1.3.1-10-gc9f91