Fixed it so "shutdown" command works when a region is set as the active console region.

afrisby
MW 2007-09-04 18:28:35 +00:00
parent 76394f46a5
commit e58a5c7a95
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ namespace OpenSim
/// <param name="cmdparams">Additional arguments passed to the command</param>
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)
{