diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-05 19:59:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-05 19:59:55 +0000 |
commit | 0d37047da236818ea62add6b510f4a52f0dd10e7 (patch) | |
tree | fb036cee1caece51db3a31ac39acb03da544ad06 /src/modules | |
parent | bdbd4f41a8c00539507b210be07f14baf88b6114 (diff) |
Report invalid command name when invalid command is given in negotiation phase
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 654c52442..07e2c8977 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3015,7 +3015,9 @@ class TreeSocket : public InspSocket } else { - this->WriteLine("ERROR :Invalid command in negotiation phase."); + std::string error("ERROR :Invalid command in negotiation phase: "); + error.append(command.c_str()); + this->WriteLine(error); return false; } break; |