From 36bfb8b756061193c6dd72b9cb52db48bb5f6aad Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 12:07:06 +0000 Subject: Added remote routing notices for RCONNECT git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3039 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/m_spanningtree.cpp') 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); -- cgit v1.2.3