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.cpp3
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> &params)
{
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)