diff options
author | Kitto Flora | 2010-02-03 14:32:29 -0500 |
---|---|---|
committer | Kitto Flora | 2010-02-03 14:32:29 -0500 |
commit | fc1ac2593510965789e09136693649f7395897cb (patch) | |
tree | ecabcee704d9833c01f0ccab90306ba61d944854 /OpenSim/ConsoleClient | |
parent | AngMotor update 1 (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC_OLD-fc1ac2593510965789e09136693649f7395897cb.zip opensim-SC_OLD-fc1ac2593510965789e09136693649f7395897cb.tar.gz opensim-SC_OLD-fc1ac2593510965789e09136693649f7395897cb.tar.bz2 opensim-SC_OLD-fc1ac2593510965789e09136693649f7395897cb.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Diffstat (limited to 'OpenSim/ConsoleClient')
-rw-r--r-- | OpenSim/ConsoleClient/ConsoleClient.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/ConsoleClient/ConsoleClient.cs b/OpenSim/ConsoleClient/ConsoleClient.cs index d195d25..8c616e0 100644 --- a/OpenSim/ConsoleClient/ConsoleClient.cs +++ b/OpenSim/ConsoleClient/ConsoleClient.cs | |||
@@ -82,9 +82,11 @@ namespace OpenSim.ConsoleClient | |||
82 | 82 | ||
83 | private static void SendCommand(string module, string[] cmd) | 83 | private static void SendCommand(string module, string[] cmd) |
84 | { | 84 | { |
85 | string sendCmd = cmd[0]; | 85 | string sendCmd = ""; |
86 | if (cmd.Length > 1) | 86 | if (cmd.Length > 1) |
87 | { | 87 | { |
88 | sendCmd = cmd[0]; | ||
89 | |||
88 | Array.Copy(cmd, 1, cmd, 0, cmd.Length-1); | 90 | Array.Copy(cmd, 1, cmd, 0, cmd.Length-1); |
89 | Array.Resize(ref cmd, cmd.Length-1); | 91 | Array.Resize(ref cmd, cmd.Length-1); |
90 | sendCmd += "\"" + String.Join("\" \"", cmd) + "\""; | 92 | sendCmd += "\"" + String.Join("\" \"", cmd) + "\""; |