diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 10:06:04 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 10:06:04 +0000 |
commit | dcbee32889e3b4e8c56c26dfa728d40f95c213f7 (patch) | |
tree | e78dfe3545116cee4025ea9d61e51f5b2c3015ba /src/modules | |
parent | 0b00a63c32eff23bfa022374352ea5e0b5349c24 (diff) |
Deprecate remote SQUIT, warn to use RSQUIT instead. RSQUIT supports 1 param too, emulating the old behaviour of SQUIT.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7338 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 019ae9364..3fdb26875 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -409,19 +409,8 @@ int ModuleSpanningTree::HandleSquit(const char** parameters, int pcnt, userrec* } else { - /* to be removed after 1.1.9 */ - if (IS_LOCAL(user)) - user->WriteServ("NOTICE %s :*** WARNING: Using SQUIT to split remote servers is deprecated and will be removed in a future version. Please use RSQUIT instead.",user->nick); - std::deque<std::string> params; - params.push_back(parameters[0]); - Utils->DoOneToOne(user->nick, "RSQUIT", params, s->GetName()); - /* end to be removed after 1.1.9 */ - /* to be INSERTED after 1.1.9 */ - /* if (IS_LOCAL(user)) user->WriteServ("NOTICE %s :*** WARNING: Using SQUIT to split remote servers is deprecated. Please use RSQUIT instead.",user->nick); - */ - /* end to be INSERTED after 1.1.9 */ } } else |