Logout the presence if client IP verification fails.

viewer-2-initial-appearance
Diva Canto 2010-09-04 18:46:27 -07:00
parent 953a487f5e
commit 68f107b27e
1 changed files with 2 additions and 0 deletions

View File

@ -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();