summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:33:26 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-08 18:33:26 +0000
commitffa107c3677b54d09c42c169d75f78dcbe751f60 (patch)
tree9609e6e6b0b6249a1688fcd59106d5dc7c7cdc80
parentd125d4964a03b65af1cf1676677e2f141202b07a (diff)
No longer deprecated, just may not be used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9427 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/override_squit.cpp5
1 files changed, 3 insertions, 2 deletions
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