diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-04 22:59:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-04 22:59:20 +0000 |
commit | ef6be06f9c0016ac35c2df6bbb0f16ba6b243b2c (patch) | |
tree | ac171aedb509a9bc93fe78a0da16dd108a82a3ed /src/modules | |
parent | 8d57be001c39936b6851115e3f1df3df1fefda83 (diff) |
one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the debug log
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 7d034c17c..c53d2a01a 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3423,7 +3423,8 @@ class TreeSocket : public InspSocket } else { - Instance->Log(DEBUG,"Command with unknown origin '%s'",prefix.c_str()); + if (!prefix.empty()) + Instance->Log(DEBUG,"Command with unknown origin '%s'",prefix.c_str()); return true; } } |