aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorDahlia Trimble2008-11-24 09:53:49 +0000
committerDahlia Trimble2008-11-24 09:53:49 +0000
commitd8bb20fc1ca748bd44b87cc46422945d16098ec1 (patch)
tree433e1ccda44ea69c586c5b0de26029013df4c0be /OpenSim/Region/Application/OpenSimBase.cs
parentRemove code from an experimantal patch that wasn't supposed to be committed (diff)
downloadopensim-SC_OLD-d8bb20fc1ca748bd44b87cc46422945d16098ec1.zip
opensim-SC_OLD-d8bb20fc1ca748bd44b87cc46422945d16098ec1.tar.gz
opensim-SC_OLD-d8bb20fc1ca748bd44b87cc46422945d16098ec1.tar.bz2
opensim-SC_OLD-d8bb20fc1ca748bd44b87cc46422945d16098ec1.tar.xz
Thanks SachaMagne for a patch which adds the following console commands:
login-enable : Allow login at sim level (opensim.exe) login-disable: Stop any login BUT keep the logged avt login-status : Return the actual status
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 608de06..fb620c3 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -303,6 +303,21 @@ namespace OpenSim
303 return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY); 303 return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY);
304 } 304 }
305 305
306 public void ProcessLogin(bool LoginEnabled)
307 {
308 if (LoginEnabled)
309 {
310 m_log.Info("[Login] Login are now enabled ");
311 m_commsManager.GridService.RegionLoginsEnabled = true;
312 }
313 else
314 {
315 m_log.Info("[Login] Login are now disabled ");
316 m_commsManager.GridService.RegionLoginsEnabled = false;
317 }
318
319 }
320
306 /// <summary> 321 /// <summary>
307 /// Execute the region creation process. This includes setting up scene infrastructure. 322 /// Execute the region creation process. This includes setting up scene infrastructure.
308 /// </summary> 323 /// </summary>