aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-12 23:29:57 +0100
committerJustin Clark-Casey (justincc)2012-07-12 23:29:57 +0100
commit3b3d9967b18335c28ce2dfc269e47bac0ede075a (patch)
tree3be5fb115a9ef5ad9f81422032b15a6dcc9ff7ae /OpenSim/Region/ScriptEngine
parentChange very recent AllowedViewerList and BannedViewerList config setting name... (diff)
downloadopensim-SC_OLD-3b3d9967b18335c28ce2dfc269e47bac0ede075a.zip
opensim-SC_OLD-3b3d9967b18335c28ce2dfc269e47bac0ede075a.tar.gz
opensim-SC_OLD-3b3d9967b18335c28ce2dfc269e47bac0ede075a.tar.bz2
opensim-SC_OLD-3b3d9967b18335c28ce2dfc269e47bac0ede075a.tar.xz
Remove IClientAPI.GetClientEP() in favour of existing identical IClientAPI.RemoteEndpoint.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index cfa08c2..3654106 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -874,13 +874,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
874 if (World.Entities.ContainsKey((UUID)agent) && World.Entities[avatarID] is ScenePresence) 874 if (World.Entities.ContainsKey((UUID)agent) && World.Entities[avatarID] is ScenePresence)
875 { 875 {
876 ScenePresence target = (ScenePresence)World.Entities[avatarID]; 876 ScenePresence target = (ScenePresence)World.Entities[avatarID];
877 EndPoint ep = target.ControllingClient.GetClientEP(); 877 return target.ControllingClient.RemoteEndPoint.Address.ToString();
878 if (ep is IPEndPoint)
879 {
880 IPEndPoint ip = (IPEndPoint)ep;
881 return ip.Address.ToString();
882 }
883 } 878 }
879
884 // fall through case, just return nothing 880 // fall through case, just return nothing
885 return ""; 881 return "";
886 } 882 }