diff options
author | UbitUmarov | 2016-11-16 00:42:08 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-16 00:42:08 +0000 |
commit | 8dd9601fdcdaf77060446f40e69b3d1524afa31f (patch) | |
tree | 62ff98768b437ab26850cdec586d74aaecd02555 /OpenSim/Region/ClientStack | |
parent | change camera collision check rules (diff) | |
download | opensim-SC_OLD-8dd9601fdcdaf77060446f40e69b3d1524afa31f.zip opensim-SC_OLD-8dd9601fdcdaf77060446f40e69b3d1524afa31f.tar.gz opensim-SC_OLD-8dd9601fdcdaf77060446f40e69b3d1524afa31f.tar.bz2 opensim-SC_OLD-8dd9601fdcdaf77060446f40e69b3d1524afa31f.tar.xz |
minor change to getdisplaynames cap url
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetDisplayNamesModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetDisplayNamesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetDisplayNamesModule.cs index eabacb4..bf559d3 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetDisplayNamesModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetDisplayNamesModule.cs | |||
@@ -120,14 +120,13 @@ namespace OpenSim.Region.ClientStack.Linden | |||
120 | 120 | ||
121 | public virtual void RegisterCaps(UUID agentID, Caps caps) | 121 | public virtual void RegisterCaps(UUID agentID, Caps caps) |
122 | { | 122 | { |
123 | UUID capID = UUID.Random(); | ||
124 | |||
125 | if (m_URL == "localhost") | 123 | if (m_URL == "localhost") |
126 | { | 124 | { |
127 | m_log.DebugFormat("[GET_DISPLAY_NAMES]: /CAPS/agents/{0} in region {1}", capID, m_scene.RegionInfo.RegionName); | 125 | string capUrl = "/CAPS/" + UUID.Random() + "/"; |
126 | // m_log.DebugFormat("[GET_DISPLAY_NAMES]: {0} in region {1}", capUrl, m_scene.RegionInfo.RegionName); | ||
128 | caps.RegisterHandler( | 127 | caps.RegisterHandler( |
129 | "GetDisplayNames", | 128 | "GetDisplayNames", |
130 | new GetDisplayNamesHandler("/CAPS/agents" + capID + "/", m_UserManager, "GetDisplayNames", agentID.ToString())); | 129 | new GetDisplayNamesHandler(capUrl, m_UserManager, "GetDisplayNames", agentID.ToString())); |
131 | } | 130 | } |
132 | else | 131 | else |
133 | { | 132 | { |