From ffa107c3677b54d09c42c169d75f78dcbe751f60 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 8 Apr 2008 18:33:26 +0000 Subject: No longer deprecated, just may not be used git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/override_squit.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/override_squit.cpp b/src/modules/m_spanningtree/override_squit.cpp index 1a82e4bfb..5f5eae15e 100644 --- a/src/modules/m_spanningtree/override_squit.cpp +++ b/src/modules/m_spanningtree/override_squit.cpp @@ -43,7 +43,9 @@ int ModuleSpanningTree::HandleSquit(const char* const* parameters, int pcnt, Use user->WriteServ("NOTICE %s :*** SQUIT: Foolish mortal, you cannot make a server SQUIT itself! (%s matches local server name)",user->nick,parameters[0]); return 1; } + TreeSocket* sock = s->GetSocket(); + if (sock) { ServerInstance->SNO->WriteToSnoMask('l',"SQUIT: Server \002%s\002 removed from network by %s",parameters[0],user->nick); @@ -53,8 +55,7 @@ int ModuleSpanningTree::HandleSquit(const char* const* parameters, int pcnt, Use } else { - if (IS_LOCAL(user)) - user->WriteServ("NOTICE %s :*** WARNING: Using SQUIT to split remote servers is deprecated. Please use RSQUIT instead.",user->nick); + user->WriteServ("NOTICE %s :*** SQUIT may not be used to remove remote servers. Please use RSQUIT instead.",user->nick); } } else -- cgit v1.2.3