]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Report invalid command name when invalid command is given in negotiation phase
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 5 Oct 2006 19:59:55 +0000 (19:59 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 5 Oct 2006 19:59:55 +0000 (19:59 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 654c524420f219f7fa877b926c398aa05ac41414..07e2c897703da8f1af27f40b620269819e08f438 100644 (file)
@@ -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;