From e58a5c7a9555b0415cd1596a111b9596a883df9e Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 4 Sep 2007 18:28:35 +0000 Subject: Fixed it so "shutdown" command works when a region is set as the active console region. --- OpenSim/Region/Application/OpenSimMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 5dfb30b..1170f80 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -371,7 +371,7 @@ namespace OpenSim /// Additional arguments passed to the command public void RunCmd(string command, string[] cmdparams) { - if ((m_consoleRegion == null) ||(command == "change-region")) + if ((m_consoleRegion == null) || (command == "change-region") || (command == "shutdown")) { switch (command) { -- cgit v1.1