mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Fixed calling "debug xengine log" without the 'level' parameter: this should show the current log level; not crash
This commit is contained in:
@@ -460,7 +460,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
/// <param name="args"></param>
|
||||
private void HandleDebugLevelCommand(string module, string[] args)
|
||||
{
|
||||
if (args.Length <= 4)
|
||||
if (args.Length >= 4)
|
||||
{
|
||||
int newDebug;
|
||||
if (ConsoleUtil.TryParseConsoleNaturalInt(MainConsole.Instance, args[3], out newDebug))
|
||||
|
||||
Reference in New Issue
Block a user