cosmetics

This commit is contained in:
UbitUmarov
2022-03-14 21:12:53 +00:00
parent e1de79dad2
commit 5728d634b5
6 changed files with 28 additions and 27 deletions

View File

@@ -146,11 +146,9 @@ namespace OpenSim.Server.Handlers.Simulation
source.RawServerURI = null;
}
OSDMap resp = new OSDMap(2);
string reason = string.Empty;
bool result = CreateAgent(source, gatekeeper, destination, aCircuit, data.flags, data.fromLogin, ctx, out reason);
bool result = CreateAgent(source, gatekeeper, destination, aCircuit, data.flags, data.fromLogin, ctx, out string reason);
OSDMap resp = new OSDMap(3);
resp["reason"] = OSD.FromString(reason);
resp["success"] = OSD.FromBoolean(result);
// Let's also send out the IP address of the caller back to the caller (HG 1.5)