diff options
author | Melanie | 2010-09-05 18:06:42 +0100 |
---|---|---|
committer | Melanie | 2010-09-05 18:06:42 +0100 |
commit | b2486df67c11cb79ef08882299d3d6fbeac05448 (patch) | |
tree | 915dda2f36015977bccdaf30cd72573d3642e5b1 | |
parent | And the avatar services :) (diff) | |
download | opensim-SC_OLD-b2486df67c11cb79ef08882299d3d6fbeac05448.zip opensim-SC_OLD-b2486df67c11cb79ef08882299d3d6fbeac05448.tar.gz opensim-SC_OLD-b2486df67c11cb79ef08882299d3d6fbeac05448.tar.bz2 opensim-SC_OLD-b2486df67c11cb79ef08882299d3d6fbeac05448.tar.xz |
Friends works differently, it' snot even a region module at all, but a connector
that is loaded by the core friends module. Change Simian to match.
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs index 1afb1e1..5b18aef 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianFriendsServiceConnector.cs | |||
@@ -46,8 +46,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
46 | /// <summary> | 46 | /// <summary> |
47 | /// Stores and retrieves friend lists from the SimianGrid backend | 47 | /// Stores and retrieves friend lists from the SimianGrid backend |
48 | /// </summary> | 48 | /// </summary> |
49 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] | 49 | public class SimianFriendsServiceConnector : IFriendsService |
50 | public class SimianFriendsServiceConnector : IFriendsService, ISharedRegionModule | ||
51 | { | 50 | { |
52 | private static readonly ILog m_log = | 51 | private static readonly ILog m_log = |
53 | LogManager.GetLogger( | 52 | LogManager.GetLogger( |
@@ -55,20 +54,6 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
55 | 54 | ||
56 | private string m_serverUrl = String.Empty; | 55 | private string m_serverUrl = String.Empty; |
57 | 56 | ||
58 | #region ISharedRegionModule | ||
59 | |||
60 | public Type ReplaceableInterface { get { return null; } } | ||
61 | public void RegionLoaded(Scene scene) { } | ||
62 | public void PostInitialise() { } | ||
63 | public void Close() { } | ||
64 | |||
65 | public SimianFriendsServiceConnector() { } | ||
66 | public string Name { get { return "SimianFriendsServiceConnector"; } } | ||
67 | public void AddRegion(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { scene.RegisterModuleInterface<IFriendsService>(this); } } | ||
68 | public void RemoveRegion(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { scene.UnregisterModuleInterface<IFriendsService>(this); } } | ||
69 | |||
70 | #endregion ISharedRegionModule | ||
71 | |||
72 | public SimianFriendsServiceConnector(IConfigSource source) | 57 | public SimianFriendsServiceConnector(IConfigSource source) |
73 | { | 58 | { |
74 | Initialise(source); | 59 | Initialise(source); |