diff options
author | Justin Clark-Casey (justincc) | 2012-05-25 01:41:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-05-25 01:41:00 +0100 |
commit | 7cceab12956dcb8ebeff129375888541831f7976 (patch) | |
tree | 650baa934c0da9d18273fccd16f344d12bf07a72 /OpenSim/Server/ServerMain.cs | |
parent | Don't actually proceed on a within-region teleport if another is already taki... (diff) | |
download | opensim-SC_OLD-7cceab12956dcb8ebeff129375888541831f7976.zip opensim-SC_OLD-7cceab12956dcb8ebeff129375888541831f7976.tar.gz opensim-SC_OLD-7cceab12956dcb8ebeff129375888541831f7976.tar.bz2 opensim-SC_OLD-7cceab12956dcb8ebeff129375888541831f7976.tar.xz |
In remote QueryAccess, also receive the actual status (true|false) instead of always true no matter what the callee actually returned.
This was due to two things
1) SimulationServiceConnector.QueryAccess was always looking to the outer result["success"].
But if a "_Result" map is returned (which is certainly the case right now), then the true success is _Result["success"], result["success"] is always true no matter what
2) If QueryAccess was false at the destination, then AgentHandlers.DoQueryAccess() was never putting this in the result.
The default action of SerializeJsonString() is not to put false booleans in the JSON!!!, so this has to be explicitly set.
Diffstat (limited to 'OpenSim/Server/ServerMain.cs')
0 files changed, 0 insertions, 0 deletions