Logout the presence if client IP verification fails.

This commit is contained in:
Diva Canto
2010-09-04 18:46:27 -07:00
parent 953a487f5e
commit 68f107b27e

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