diff options
author | Melanie Thielker | 2009-07-01 15:47:52 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-07-01 15:47:52 +0000 |
commit | 3564271c2d4f769361e36e2a10acbeb3e5f56bdf (patch) | |
tree | 5a9ff9a12a239aef2554b01b69c1094fd27725e9 /OpenSim/Region/ScriptEngine | |
parent | Update svn properties. (diff) | |
download | opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.zip opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.gz opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.bz2 opensim-SC_OLD-3564271c2d4f769361e36e2a10acbeb3e5f56bdf.tar.xz |
Restore the functionality that was removed in r9928. This lets the load
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 73c3e4c..7c878b8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -666,7 +666,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
666 | if (World.Entities.ContainsKey((UUID)agent) && World.Entities[avatarID] is ScenePresence) | 666 | if (World.Entities.ContainsKey((UUID)agent) && World.Entities[avatarID] is ScenePresence) |
667 | { | 667 | { |
668 | ScenePresence target = (ScenePresence)World.Entities[avatarID]; | 668 | ScenePresence target = (ScenePresence)World.Entities[avatarID]; |
669 | EndPoint ep = target.ControllingClient.GetClientInfo().userEP; | 669 | EndPoint ep = target.ControllingClient.GetClientEP(); |
670 | if (ep is IPEndPoint) | 670 | if (ep is IPEndPoint) |
671 | { | 671 | { |
672 | IPEndPoint ip = (IPEndPoint)ep; | 672 | IPEndPoint ip = (IPEndPoint)ep; |