aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2010-01-26 07:40:33 +1100
committerAdam Frisby2010-01-26 07:40:33 +1100
commit19d4867af7ee6c8f3005b116a545319cda8e1b25 (patch)
treee399820b54d748982228ca3b6197e650d7ce252d
parentAdded some prebuild refs needed for mono building (diff)
downloadopensim-SC_OLD-19d4867af7ee6c8f3005b116a545319cda8e1b25.zip
opensim-SC_OLD-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.gz
opensim-SC_OLD-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.bz2
opensim-SC_OLD-19d4867af7ee6c8f3005b116a545319cda8e1b25.tar.xz
* Quick fix to Remote Console session ID handling.
-rw-r--r--OpenSim/Framework/Console/RemoteConsole.cs6
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