Oops, that should be inside the curly bracket.

connector_plugin
Diva Canto 2012-09-25 19:54:42 -07:00
parent 77355295da
commit 495a3e7daf
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
} }
} }
#region ISharedRegionModule #region ISharedRegionModule
public override string Name public override string Name
@ -149,9 +148,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
base.AddRegion(scene); base.AddRegion(scene);
if (m_Enabled) if (m_Enabled)
{
scene.RegisterModuleInterface<IUserAgentVerificationModule>(this); scene.RegisterModuleInterface<IUserAgentVerificationModule>(this);
scene.EventManager.OnIncomingSceneObject += OnIncomingSceneObject;
scene.EventManager.OnIncomingSceneObject += OnIncomingSceneObject; }
} }
void OnIncomingSceneObject(SceneObjectGroup so) void OnIncomingSceneObject(SceneObjectGroup so)