diff options
author | MW | 2007-09-04 18:28:35 +0000 |
---|---|---|
committer | MW | 2007-09-04 18:28:35 +0000 |
commit | e58a5c7a9555b0415cd1596a111b9596a883df9e (patch) | |
tree | 9e8574ba2fbb74b5556d241375a4c7f86487894b /OpenSim/Region/Application/OpenSimMain.cs | |
parent | Part 2 of Darok's BulletX patches. (diff) | |
download | opensim-SC_OLD-e58a5c7a9555b0415cd1596a111b9596a883df9e.zip opensim-SC_OLD-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.gz opensim-SC_OLD-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.bz2 opensim-SC_OLD-e58a5c7a9555b0415cd1596a111b9596a883df9e.tar.xz |
Fixed it so "shutdown" command works when a region is set as the active console region.
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
371 | /// <param name="cmdparams">Additional arguments passed to the command</param> | 371 | /// <param name="cmdparams">Additional arguments passed to the command</param> |
372 | public void RunCmd(string command, string[] cmdparams) | 372 | public void RunCmd(string command, string[] cmdparams) |
373 | { | 373 | { |
374 | if ((m_consoleRegion == null) ||(command == "change-region")) | 374 | if ((m_consoleRegion == null) || (command == "change-region") || (command == "shutdown")) |
375 | { | 375 | { |
376 | switch (command) | 376 | switch (command) |
377 | { | 377 | { |