diff options
author | Justin Clarke Casey | 2009-01-06 14:20:54 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 14:20:54 +0000 |
commit | 2a4c4ceebb6bf9d3349a2f4fbefd84e4748a78a0 (patch) | |
tree | f3fdf4853dbae10cf6cf61824e177e8cb963f097 /OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs | |
parent | * Mjnor: Clarified comment to ensure that people are aware of how to end the ... (diff) | |
download | opensim-SC-2a4c4ceebb6bf9d3349a2f4fbefd84e4748a78a0.zip opensim-SC-2a4c4ceebb6bf9d3349a2f4fbefd84e4748a78a0.tar.gz opensim-SC-2a4c4ceebb6bf9d3349a2f4fbefd84e4748a78a0.tar.bz2 opensim-SC-2a4c4ceebb6bf9d3349a2f4fbefd84e4748a78a0.tar.xz |
* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsManager
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs index 3490b6f..b752404 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs | |||
@@ -116,8 +116,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Friends | |||
116 | { | 116 | { |
117 | if (m_scenes.Count == 0) | 117 | if (m_scenes.Count == 0) |
118 | { | 118 | { |
119 | scene.AddXmlRPCHandler("presence_update_bulk", processPresenceUpdateBulk); | 119 | scene.CommsManager.HttpServer.AddXmlRPCHandler("presence_update_bulk", processPresenceUpdateBulk); |
120 | scene.AddXmlRPCHandler("terminate_friend", processTerminateFriend); | 120 | scene.CommsManager.HttpServer.AddXmlRPCHandler("terminate_friend", processTerminateFriend); |
121 | m_friendLists.DefaultTTL = new TimeSpan(1, 0, 0); // store entries for one hour max | 121 | m_friendLists.DefaultTTL = new TimeSpan(1, 0, 0); // store entries for one hour max |
122 | m_initialScene = scene; | 122 | m_initialScene = scene; |
123 | } | 123 | } |