diff options
-rw-r--r-- | src/modules/m_spanningtree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index e91158666..f413b8529 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1434,7 +1434,10 @@ class TreeSocket : public InspSocket bool OperType(std::string prefix, std::deque<std::string> ¶ms) { if (params.size() != 1) + { + log(DEBUG,"Received invalid oper type from %s",prefix.c_str()); return true; + } std::string opertype = params[0]; userrec* u = Srv->FindNick(prefix); if (u) |