summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 12:07:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 12:07:06 +0000
commit36bfb8b756061193c6dd72b9cb52db48bb5f6aad (patch)
treede6248f46dab5725c141fba792b044fd737cab0b
parenta354b2beeb0fa1dc8bb4f0d5e96d018371bea2f2 (diff)
Added remote routing notices for RCONNECT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3039 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 32c908782..fcd07d4d4 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -543,10 +543,12 @@ class cmd_rconnect : public command_t
void Handle (char **parameters, int pcnt, userrec *user)
{
+ WriteServ(user->fd,"NOTICE %s :*** RCONNECT: Sending remote connect to \002%s\002 to connect server \002%s\002.",user->nick,parameters[0],parameters[1]);
/* Is this aimed at our server? */
if (Srv->MatchText(Srv->GetServerName(),parameters[0]))
{
/* Yes, initiate the given connect */
+ WriteOpers("*** Remote CONNECT from %s matching \002%s\002, connecting server \002%s\002",user->nick,parameters[0],parameters[1]);
char* para[1];
para[0] = parameters[1];
Creator->OnPreCommand("CONNECT", para, 1, user, true);