From: brain Date: Wed, 28 Dec 2005 22:56:38 +0000 (+0000) Subject: Made 'fake direction' less loud, removed 'invalid source' X-Git-Tag: v2.0.23~9384 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=bbad4e536234949a1ce480e6c6f901c884621c5e;p=user%2Fhenk%2Fcode%2Finspircd.git Made 'fake direction' less loud, removed 'invalid source' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2690 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 036f50617..9841cd4cf 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1926,14 +1926,7 @@ class TreeSocket : public InspSocket if ((!route_back_again) || (route_back_again->GetSocket() != this)) { if (route_back_again) - { - WriteOpers("*** Protocol violation: Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName().c_str()); - } - else - { - WriteOpers("*** Protocol violation: Invalid source '%s' in command '%s' from connection '%s'",direction.c_str(),line.c_str(),this->GetName().c_str()); - } - + log(DEBUG,"Protocol violation: Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName().c_str()); return true; } }