From f84bff3aa60af440c059cd564a324cc7a6a9258d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 31 Jan 2009 15:46:53 +0000 Subject: We already have an error for not enough params to the SERVER command, but the error is 'missing SID'. This error can be seen in snomask +l and is sent as ERROR to the connection. Changed to 'Not enough parameters for SERVER command', fixes bug #661 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 5f2e38aa0..eebfa97cb 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -35,7 +35,7 @@ bool TreeSocket::RemoteServer(const std::string &prefix, std::deque { if (params.size() < 5) { - SendError("Protocol error - Missing SID"); + SendError("Protocol error - Not enough parameters for SERVER command"); return false; } @@ -91,7 +91,7 @@ bool TreeSocket::Outbound_Reply_Server(std::deque ¶ms) { if (params.size() < 5) { - SendError("Protocol error - Missing SID"); + SendError("Protocol error - Not enough parameters for SERVER command"); return false; } -- cgit v1.2.3