Thank you, StrawberryFride, for a patch to fix SceneBan behavior.
Applied with changes (commented the logging entirely, since Linux defaults to debug level) Fixes Mantis #36890.6.6-post-fixes
parent
a3fed17956
commit
20383a61b8
|
@ -48,6 +48,9 @@ namespace OpenSim.Region.CoreModules.Agent.IPBan
|
||||||
}
|
}
|
||||||
|
|
||||||
void EventManager_OnClientConnect(IClientCore client)
|
void EventManager_OnClientConnect(IClientCore client)
|
||||||
|
{
|
||||||
|
// Only need to run through all this if there are entries in the ban list
|
||||||
|
if (bans.Count > 0)
|
||||||
{
|
{
|
||||||
IClientIPEndpoint ipEndpoint;
|
IClientIPEndpoint ipEndpoint;
|
||||||
if (client.TryGet(out ipEndpoint))
|
if (client.TryGet(out ipEndpoint))
|
||||||
|
@ -72,7 +75,8 @@ namespace OpenSim.Region.CoreModules.Agent.IPBan
|
||||||
{
|
{
|
||||||
m_log.WarnFormat("[IPBAN] IP address \"{0}\" cannot be resolved via DNS", end);
|
m_log.WarnFormat("[IPBAN] IP address \"{0}\" cannot be resolved via DNS", end);
|
||||||
}
|
}
|
||||||
m_log.WarnFormat("[IPBAN] User \"{0}\" not in any ban lists. Allowing connection.", end);
|
// m_log.DebugFormat("[IPBAN] User \"{0}\" not in any ban lists. Allowing connection.", end);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue