diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-16 18:51:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-16 18:51:17 +0000 |
commit | c5e529cfb9e5b9172d54da99ac9cb667dc025c2e (patch) | |
tree | cf2db5a3737866f06caf88913ca266720ad243ad /src/modules | |
parent | 55fdc886a1a7941ef1d0162ac73cbf368cd66151 (diff) |
Extra logging to log bad opertypes coming in from remotes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3230 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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) |