diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-09 21:16:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-09 21:16:08 +0000 |
commit | b8e19012ce14ac842e8c9288d75d0c37cfddd658 (patch) | |
tree | b4e689a9b2f9891605afd5dc9afe6214dbde54fd /src/modules | |
parent | c593660ed2eede55c3e328bcd3728382e0edff4e (diff) |
Changed 'fake direction' message a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2307 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index c7f089ebd..b26bf536c 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1702,7 +1702,15 @@ class TreeSocket : public InspSocket TreeServer* route_back_again = BestRouteTo(direction); if ((!route_back_again) || (route_back_again->GetSocket() != this)) { - WriteOpers("*** \2WARNING\2! Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName().c_str()); + 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()); + } + return true; } } |