From: brain Date: Thu, 5 Oct 2006 19:59:55 +0000 (+0000) Subject: Report invalid command name when invalid command is given in negotiation phase X-Git-Tag: v2.0.23~6936 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0d37047da236818ea62add6b510f4a52f0dd10e7;hp=bdbd4f41a8c00539507b210be07f14baf88b6114;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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;