„Patch/AuthorizationService.cs“ ändern
parent
8f7a22ed32
commit
84edab375e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue