mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Changed 'fake direction' message a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2307 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
c593660ed2
commit
b8e19012ce
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user