diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index 50257d6..eccaa78 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |||
@@ -39,7 +39,7 @@ using OpenSim.Region.Environment.Scenes; | |||
39 | 39 | ||
40 | namespace OpenSim.Region.Environment.Modules.World.Permissions | 40 | namespace OpenSim.Region.Environment.Modules.World.Permissions |
41 | { | 41 | { |
42 | public class PermissionsModule : IRegionModule, IScenePermissions, ICommandableModule | 42 | public class PermissionsModule : IRegionModule, ICommandableModule |
43 | { | 43 | { |
44 | protected Scene m_scene; | 44 | protected Scene m_scene; |
45 | private readonly Commander m_commander = new Commander("Permissions"); | 45 | private readonly Commander m_commander = new Commander("Permissions"); |
@@ -138,8 +138,6 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
138 | 138 | ||
139 | m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true); | 139 | m_bypassPermissions = !myConfig.GetBoolean("serverside_object_permissions", true); |
140 | 140 | ||
141 | m_scene.RegisterModuleInterface<IScenePermissions>(this); | ||
142 | |||
143 | //Register functions with Scene External Checks! | 141 | //Register functions with Scene External Checks! |
144 | m_scene.ExternalChecks.addBypassPermissions(BypassPermissions); //FULLY IMPLEMENTED | 142 | m_scene.ExternalChecks.addBypassPermissions(BypassPermissions); //FULLY IMPLEMENTED |
145 | m_scene.ExternalChecks.addSetBypassPermissions(SetBypassPermissions); //FULLY IMPLEMENTED | 143 | m_scene.ExternalChecks.addSetBypassPermissions(SetBypassPermissions); //FULLY IMPLEMENTED |