diff options
author | Melanie Thielker | 2014-08-23 18:16:11 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-08-23 18:16:11 +0200 |
commit | d34599b1a5de2bec045cfc8509a7857cd9cba13e (patch) | |
tree | ecfa53ae4a96703e3cf0c837278e2900cc85e6de /OpenSim/Server | |
parent | Change the map tile system to be multi-grid hosting compatible (diff) | |
download | opensim-SC-d34599b1a5de2bec045cfc8509a7857cd9cba13e.zip opensim-SC-d34599b1a5de2bec045cfc8509a7857cd9cba13e.tar.gz opensim-SC-d34599b1a5de2bec045cfc8509a7857cd9cba13e.tar.bz2 opensim-SC-d34599b1a5de2bec045cfc8509a7857cd9cba13e.tar.xz |
If GridUserService is asked for a nonexistent user, bail gracefully
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs index 687cf8d..cad93a1 100644 --- a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs +++ b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs | |||
@@ -184,6 +184,9 @@ namespace OpenSim.Server.Handlers.GridUser | |||
184 | 184 | ||
185 | GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user); | 185 | GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user); |
186 | 186 | ||
187 | if (guinfo == null) | ||
188 | return FailureResult(); | ||
189 | |||
187 | Dictionary<string, object> result = new Dictionary<string, object>(); | 190 | Dictionary<string, object> result = new Dictionary<string, object>(); |
188 | result["result"] = guinfo.ToKeyValuePairs(); | 191 | result["result"] = guinfo.ToKeyValuePairs(); |
189 | 192 | ||