Fixed calling "debug xengine log" without the 'level' parameter: this should show the current log level; not crash
parent
c8135834db
commit
7457173fe4
|
@ -460,7 +460,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
/// <param name="args"></param>
|
/// <param name="args"></param>
|
||||||
private void HandleDebugLevelCommand(string module, string[] args)
|
private void HandleDebugLevelCommand(string module, string[] args)
|
||||||
{
|
{
|
||||||
if (args.Length <= 4)
|
if (args.Length >= 4)
|
||||||
{
|
{
|
||||||
int newDebug;
|
int newDebug;
|
||||||
if (ConsoleUtil.TryParseConsoleNaturalInt(MainConsole.Instance, args[3], out newDebug))
|
if (ConsoleUtil.TryParseConsoleNaturalInt(MainConsole.Instance, args[3], out newDebug))
|
||||||
|
|
Loading…
Reference in New Issue