From 7457173fe4d4f4716337b87cd1a8f5672c90d367 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Mon, 27 Jul 2015 08:54:18 +0300 Subject: Fixed calling "debug xengine log" without the 'level' parameter: this should show the current log level; not crash --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 4e383f8..e5e5698 100755 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -460,7 +460,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine /// 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)) -- cgit v1.1