diff options
-rw-r--r-- | OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs index 08edcbf..17a31bc 100644 --- a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs | |||
@@ -113,7 +113,7 @@ namespace OpenSim.Server.Handlers.Grid | |||
113 | byte[] Register(Dictionary<string, string> request) | 113 | byte[] Register(Dictionary<string, string> request) |
114 | { | 114 | { |
115 | UUID scopeID = UUID.Zero; | 115 | UUID scopeID = UUID.Zero; |
116 | if (request["SCOPEID"] != null) | 116 | if (request.ContainsKey("SCOPEID")) |
117 | UUID.TryParse(request["SCOPEID"], out scopeID); | 117 | UUID.TryParse(request["SCOPEID"], out scopeID); |
118 | else | 118 | else |
119 | m_log.WarnFormat("[GRID HANDLER]: no scopeID in request to register region"); | 119 | m_log.WarnFormat("[GRID HANDLER]: no scopeID in request to register region"); |