diff options
author | Melanie Thielker | 2009-07-10 02:22:26 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-07-10 02:22:26 +0000 |
commit | c310fb11f492419de60b4bf8e5bb234e4589b336 (patch) | |
tree | a7bccfad7cde51ec830fdad59d5729091b2e69ae /OpenSim/Region/CoreModules/Avatar | |
parent | Create a MainServer static class to access the regions server's HTTP server (diff) | |
download | opensim-SC_OLD-c310fb11f492419de60b4bf8e5bb234e4589b336.zip opensim-SC_OLD-c310fb11f492419de60b4bf8e5bb234e4589b336.tar.gz opensim-SC_OLD-c310fb11f492419de60b4bf8e5bb234e4589b336.tar.bz2 opensim-SC_OLD-c310fb11f492419de60b4bf8e5bb234e4589b336.tar.xz |
Remove all references to HttpServer from CommsManager (all incarnations)
Change all uses of the HttpServer properties to use the new singleton
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 52d0948..b6250a2 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -117,8 +117,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
117 | { | 117 | { |
118 | if (m_scenes.Count == 0) | 118 | if (m_scenes.Count == 0) |
119 | { | 119 | { |
120 | scene.CommsManager.HttpServer.AddXmlRPCHandler("presence_update_bulk", processPresenceUpdateBulk); | 120 | MainServer.Instance.AddXmlRPCHandler("presence_update_bulk", processPresenceUpdateBulk); |
121 | scene.CommsManager.HttpServer.AddXmlRPCHandler("terminate_friend", processTerminateFriend); | 121 | MainServer.Instance.AddXmlRPCHandler("terminate_friend", processTerminateFriend); |
122 | m_friendLists.DefaultTTL = new TimeSpan(1, 0, 0); // store entries for one hour max | 122 | m_friendLists.DefaultTTL = new TimeSpan(1, 0, 0); // store entries for one hour max |
123 | m_initialScene = scene; | 123 | m_initialScene = scene; |
124 | } | 124 | } |
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index 70fbcd4..5e7cf4b 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -68,7 +68,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
68 | { | 68 | { |
69 | if (m_Scenes.Count == 0) | 69 | if (m_Scenes.Count == 0) |
70 | { | 70 | { |
71 | scene.CommsManager.HttpServer.AddXmlRPCHandler( | 71 | MainServer.Instance.AddXmlRPCHandler( |
72 | "grid_instant_message", processXMLRPCGridInstantMessage); | 72 | "grid_instant_message", processXMLRPCGridInstantMessage); |
73 | } | 73 | } |
74 | 74 | ||