1
0
Fork 0

„Patch/AuthorizationService.cs“ ändern

master
Chris 2020-08-05 09:13:17 +00:00
parent 8f7a22ed32
commit 84edab375e
1 changed files with 6 additions and 6 deletions

View File

@ -159,12 +159,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authorization
string user, string firstName, string lastName, string regionID, out string message)
{
// This should not happen
if (m_Scene.RegionInfo.RegionID.ToString() != regionID)
{
m_log.WarnFormat("[AuthorizationService]: Service for region {0} received request to authorize for region {1}", m_Scene.RegionInfo.RegionID, regionID);
message = string.Format("Region {0} received request to authorize for region {1}", m_Scene.RegionInfo.RegionID, regionID);
return false;
}
//if (m_Scene.RegionInfo.RegionID.ToString() != regionID)
//{
//m_log.WarnFormat("[AuthorizationService]: Service for region {0} received request to authorize for region {1}", m_Scene.RegionInfo.RegionID, regionID);
//message = string.Format("Region {0} received request to authorize for region {1}", m_Scene.RegionInfo.RegionID, regionID);
//return false;
//}
if (m_accessValue == AccessFlags.None)
{