diff options
author | Adam Frisby | 2010-01-26 07:40:33 +1100 |
---|---|---|
committer | Adam Frisby | 2010-01-26 07:40:33 +1100 |
commit | 19d4867af7ee6c8f3005b116a545319cda8e1b25 (patch) | |
tree | e399820b54d748982228ca3b6197e650d7ce252d /OpenSim/Framework/Console/RemoteConsole.cs | |
parent | Added some prebuild refs needed for mono building (diff) | |
download | opensim-SC-19d4867af7ee6c8f3005b116a545319cda8e1b25.zip opensim-SC-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.gz opensim-SC-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.bz2 opensim-SC-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.xz |
* Quick fix to Remote Console session ID handling.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/RemoteConsole.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index c27072c..9fdd1b8 100644 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs | |||
@@ -302,6 +302,12 @@ namespace OpenSim.Framework.Console | |||
302 | if (!UUID.TryParse(post["ID"].ToString(), out id)) | 302 | if (!UUID.TryParse(post["ID"].ToString(), out id)) |
303 | return reply; | 303 | return reply; |
304 | 304 | ||
305 | lock(m_Connections) | ||
306 | { | ||
307 | if(!m_Connections.ContainsKey(id)) | ||
308 | return reply; | ||
309 | } | ||
310 | |||
305 | if (post["COMMAND"] == null || post["COMMAND"].ToString() == String.Empty) | 311 | if (post["COMMAND"] == null || post["COMMAND"].ToString() == String.Empty) |
306 | return reply; | 312 | return reply; |
307 | 313 | ||