aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 1d92ed1..f6d8ebd 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -376,6 +376,10 @@ namespace OpenSim.Framework.Console
376 char[] delims = {' ', '"'}; 376 char[] delims = {' ', '"'};
377 MatchCollection matches = Extractor.Matches(cmdline); 377 MatchCollection matches = Extractor.Matches(cmdline);
378 // Get matches 378 // Get matches
379
380 if (matches.Count == 0)
381 return;
382
379 string cmd = matches[0].Value.Trim(delims); 383 string cmd = matches[0].Value.Trim(delims);
380 string[] cmdparams = new string[matches.Count - 1]; 384 string[] cmdparams = new string[matches.Count - 1];
381 385