From ef6be06f9c0016ac35c2df6bbb0f16ba6b243b2c Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Nov 2006 22:59:20 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- cgit v1.2.3