Fixed it so "shutdown" command works when a region is set as the active console region.
parent
76394f46a5
commit
e58a5c7a95
|
@ -371,7 +371,7 @@ namespace OpenSim
|
||||||
/// <param name="cmdparams">Additional arguments passed to the command</param>
|
/// <param name="cmdparams">Additional arguments passed to the command</param>
|
||||||
public void RunCmd(string command, string[] cmdparams)
|
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)
|
switch (command)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue