summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp4
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;