diff options
author | Justin Clark-Casey (justincc) | 2013-09-27 19:14:21 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-27 19:14:21 +0100 |
commit | b16bc7b01ca0691758e66f85238d657f02271082 (patch) | |
tree | 4e121ace10b7dee25e1311268a84d3e95946f6f9 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |
parent | minor code formatting for the sake of consistency and readability (diff) | |
download | opensim-SC-b16bc7b01ca0691758e66f85238d657f02271082.zip opensim-SC-b16bc7b01ca0691758e66f85238d657f02271082.tar.gz opensim-SC-b16bc7b01ca0691758e66f85238d657f02271082.tar.bz2 opensim-SC-b16bc7b01ca0691758e66f85238d657f02271082.tar.xz |
refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
Adds IScene.CloseAgent() to replace RemoveClient()
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 9504f15..5296a6d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1893,7 +1893,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1893 | client.Kick("Simulator logged you out due to connection timeout."); | 1893 | client.Kick("Simulator logged you out due to connection timeout."); |
1894 | } | 1894 | } |
1895 | 1895 | ||
1896 | m_scene.IncomingCloseAgent(client.AgentId, true); | 1896 | m_scene.CloseAgent(client.AgentId, true); |
1897 | } | 1897 | } |
1898 | 1898 | ||
1899 | private void IncomingPacketHandler() | 1899 | private void IncomingPacketHandler() |
@@ -2234,7 +2234,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2234 | if (!client.IsLoggingOut) | 2234 | if (!client.IsLoggingOut) |
2235 | { | 2235 | { |
2236 | client.IsLoggingOut = true; | 2236 | client.IsLoggingOut = true; |
2237 | m_scene.IncomingCloseAgent(client.AgentId, false); | 2237 | m_scene.CloseAgent(client.AgentId, false); |
2238 | } | 2238 | } |
2239 | } | 2239 | } |
2240 | } | 2240 | } |