aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 793270b..0e7326f 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -293,7 +293,7 @@ namespace OpenSim.Framework.Console
293 if (s == String.Empty) 293 if (s == String.Empty)
294 { 294 {
295 CommandInfo ci = (CommandInfo)current[String.Empty]; 295 CommandInfo ci = (CommandInfo)current[String.Empty];
296 if (ci.fn.Count != null) 296 if (ci.fn.Count != 0)
297 addcr = true; 297 addcr = true;
298 } 298 }
299 else 299 else
@@ -355,7 +355,7 @@ namespace OpenSim.Framework.Console
355 if (current.ContainsKey(String.Empty)) 355 if (current.ContainsKey(String.Empty))
356 { 356 {
357 CommandInfo ci = (CommandInfo)current[String.Empty]; 357 CommandInfo ci = (CommandInfo)current[String.Empty];
358 if (ci.fn.Count == null) 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 fn(ci.module, result);