mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Logout the presence if client IP verification fails.
This commit is contained in:
@@ -2643,6 +2643,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
try
|
||||
{
|
||||
ScenePresence sp = GetScenePresence(agentID);
|
||||
PresenceService.LogoutAgent(sp.ControllingClient.SessionId);
|
||||
|
||||
if (sp != null)
|
||||
sp.ControllingClient.Close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user