summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-06 15:34:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-06 15:34:43 +0000
commit8172d4afcf105b58a4b16735f5e6f8ccc5404dd5 (patch)
tree5b1ebb80f3cf22853f649c931ee87f0881828777 /src/modules
parent4bb334079955b342ac3c6b9607547c9e756561c9 (diff)
More spanningtree tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9844 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/rconnect.cpp5
1 files changed, 3 insertions, 2 deletions
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<std::string>& 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<std::string> 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;
}