Fixed calling "debug xengine log" without the 'level' parameter: this should show the current log level; not crash

0.8.2-post-fixes
Oren Hurvitz 2015-07-27 08:54:18 +03:00
parent c8135834db
commit 7457173fe4
1 changed files with 1 additions and 1 deletions

View File

@ -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))