summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-31 15:46:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-31 15:46:53 +0000
commitf84bff3aa60af440c059cd564a324cc7a6a9258d (patch)
tree6d08a405d6f9877c3e7703818053589667c38d8c
parent378b94da355f2c6714f54dc2ddf9960baaa43b3b (diff)
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
-rw-r--r--src/modules/m_spanningtree/server.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string>
{
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<std::string> &params)
{
if (params.size() < 5)
{
- SendError("Protocol error - Missing SID");
+ SendError("Protocol error - Not enough parameters for SERVER command");
return false;
}