aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorMelanie2010-01-10 03:03:18 +0000
committerMelanie2010-01-10 03:03:18 +0000
commit81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba (patch)
treef8f820a1f62add2d945d768e1f306592027b2d0f /OpenSim/Region/Application/OpenSim.cs
parentFixes prim to prim collision. (diff)
downloadopensim-SC_OLD-81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba.zip
opensim-SC_OLD-81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba.tar.gz
opensim-SC_OLD-81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba.tar.bz2
opensim-SC_OLD-81d5a4b6d8d8548dde98cbf827d171bb1ebf96ba.tar.xz
Remove "login disable", "login enable" and "login status" commands.
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs48
1 files changed, 0 insertions, 48 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 82b2fd4..c9f2cfa 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -287,18 +287,6 @@ namespace OpenSim
287 "create region", 287 "create region",
288 "Create a new region", HandleCreateRegion); 288 "Create a new region", HandleCreateRegion);
289 289
290 m_console.Commands.AddCommand("region", false, "login enable",
291 "login enable",
292 "Enable logins to the simulator", HandleLoginEnable);
293
294 m_console.Commands.AddCommand("region", false, "login disable",
295 "login disable",
296 "Disable logins to the simulator", HandleLoginDisable);
297
298 m_console.Commands.AddCommand("region", false, "login status",
299 "login status",
300 "Display status of logins", HandleLoginStatus);
301
302 m_console.Commands.AddCommand("region", false, "restart", 290 m_console.Commands.AddCommand("region", false, "restart",
303 "restart", 291 "restart",
304 "Restart all sims in this instance", RunCommand); 292 "Restart all sims in this instance", RunCommand);
@@ -559,42 +547,6 @@ namespace OpenSim
559 } 547 }
560 548
561 /// <summary> 549 /// <summary>
562 /// Enable logins
563 /// </summary>
564 /// <param name="module"></param>
565 /// <param name="cmd"></param>
566 private void HandleLoginEnable(string module, string[] cmd)
567 {
568 ProcessLogin(true);
569 }
570
571
572 /// <summary>
573 /// Disable logins
574 /// </summary>
575 /// <param name="module"></param>
576 /// <param name="cmd"></param>
577 private void HandleLoginDisable(string module, string[] cmd)
578 {
579 ProcessLogin(false);
580 }
581
582 /// <summary>
583 /// Log login status to the console
584 /// </summary>
585 /// <param name="module"></param>
586 /// <param name="cmd"></param>
587 private void HandleLoginStatus(string module, string[] cmd)
588 {
589 if (m_sceneManager.CurrentOrFirstScene.SceneGridService.RegionLoginsEnabled == false)
590
591 m_log.Info("[ Login ] Login are disabled ");
592 else
593 m_log.Info("[ Login ] Login are enabled");
594 }
595
596
597 /// <summary>
598 /// Change and load configuration file data. 550 /// Change and load configuration file data.
599 /// </summary> 551 /// </summary>
600 /// <param name="module"></param> 552 /// <param name="module"></param>