From 8172d4afcf105b58a4b16735f5e6f8ccc5404dd5 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 Jun 2008 15:34:43 +0000 Subject: More spanningtree tweaks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9844 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/rconnect.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/rconnect.cpp') diff --git a/src/modules/m_spanningtree/rconnect.cpp b/src/modules/m_spanningtree/rconnect.cpp index 78adae28c..462c1e03d 100644 --- a/src/modules/m_spanningtree/rconnect.cpp +++ b/src/modules/m_spanningtree/rconnect.cpp @@ -55,8 +55,9 @@ CmdResult cmd_rconnect::Handle (const std::vector& parameters, User ServerInstance->SNO->WriteToSnoMask('l',"Remote CONNECT from %s matching \002%s\002, connecting server \002%s\002",user->nick.c_str(),parameters[0].c_str(),parameters[1].c_str()); std::vector para; para.push_back(parameters[1]); - std::string original_command = std::string("CONNECT ") + parameters[1]; - Creator->OnPreCommand("CONNECT", para, user, true, original_command); + std::string cmd("CONNECT"); + std::string original_command = cmd + " " + parameters[1]; + Creator->OnPreCommand(cmd, para, user, true, original_command); } return CMD_SUCCESS; } -- cgit v1.2.3