aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 588a39a..fda2037 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -358,7 +358,12 @@ namespace OpenSim.Framework.Console
358 if (ci.fn.Count == 0) 358 if (ci.fn.Count == 0)
359 return new string[0]; 359 return new string[0];
360 foreach (CommandDelegate fn in ci.fn) 360 foreach (CommandDelegate fn in ci.fn)
361 fn(ci.module, result); 361 {
362 if (fn != null)
363 fn(ci.module, result);
364 else
365 return new string[0];
366 }
362 return result; 367 return result;
363 } 368 }
364 369