diff options
author | Justin Clark-Casey (justincc) | 2012-07-19 00:09:22 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-19 00:09:22 +0100 |
commit | 6dda7c65ae1d58cac3e8dc2d9d64f56c870df39e (patch) | |
tree | 54b7ca4265df0cb65261e0dc0fb63ddd4d000513 /OpenSim/Framework/IScene.cs | |
parent | Add back notification to neighbouring regions when RegionReadyModule is not a... (diff) | |
download | opensim-SC-6dda7c65ae1d58cac3e8dc2d9d64f56c870df39e.zip opensim-SC-6dda7c65ae1d58cac3e8dc2d9d64f56c870df39e.tar.gz opensim-SC-6dda7c65ae1d58cac3e8dc2d9d64f56c870df39e.tar.bz2 opensim-SC-6dda7c65ae1d58cac3e8dc2d9d64f56c870df39e.tar.xz |
Add EventManager.OnRegionLoginsStatusChange fired whenever logins are enabled or disabled at any point, not just during initial startup.
This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled
and was affected by a bug where it would never fire if the region started with logins disabled.
Diffstat (limited to 'OpenSim/Framework/IScene.cs')
-rw-r--r-- | OpenSim/Framework/IScene.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs index a9432c2..2c38e0f 100644 --- a/OpenSim/Framework/IScene.cs +++ b/OpenSim/Framework/IScene.cs | |||
@@ -66,6 +66,11 @@ namespace OpenSim.Framework | |||
66 | 66 | ||
67 | IConfigSource Config { get; } | 67 | IConfigSource Config { get; } |
68 | 68 | ||
69 | /// <summary> | ||
70 | /// Are logins enabled on this simulator? | ||
71 | /// </summary> | ||
72 | bool LoginsEnabled { get; set; } | ||
73 | |||
69 | float TimeDilation { get; } | 74 | float TimeDilation { get; } |
70 | 75 | ||
71 | bool AllowScriptCrossings { get; } | 76 | bool AllowScriptCrossings { get; } |