diff options
Diffstat (limited to 'OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs')
-rw-r--r-- | OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs b/OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs index 5ef068a..5340bcd 100644 --- a/OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs +++ b/OpenSim/Addons/OfflineIM/OfflineIMRegionModule.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.OfflineIM | |||
66 | if (serviceLocation == string.Empty) | 66 | if (serviceLocation == string.Empty) |
67 | m_OfflineIMService = new OfflineIMService(config); | 67 | m_OfflineIMService = new OfflineIMService(config); |
68 | else | 68 | else |
69 | m_OfflineIMService = new OfflineIMServiceRemoteConnector(serviceLocation); | 69 | m_OfflineIMService = new OfflineIMServiceRemoteConnector(config); |
70 | 70 | ||
71 | m_ForwardOfflineGroupMessages = cnf.GetBoolean("ForwardOfflineGroupMessages", m_ForwardOfflineGroupMessages); | 71 | m_ForwardOfflineGroupMessages = cnf.GetBoolean("ForwardOfflineGroupMessages", m_ForwardOfflineGroupMessages); |
72 | m_log.DebugFormat("[OfflineIM.V2]: Offline messages enabled by {0}", Name); | 72 | m_log.DebugFormat("[OfflineIM.V2]: Offline messages enabled by {0}", Name); |
@@ -226,10 +226,6 @@ namespace OpenSim.OfflineIM | |||
226 | return; | 226 | return; |
227 | } | 227 | } |
228 | 228 | ||
229 | Scene scene = FindScene(new UUID(im.fromAgentID)); | ||
230 | if (scene == null) | ||
231 | scene = m_SceneList[0]; | ||
232 | |||
233 | string reason = string.Empty; | 229 | string reason = string.Empty; |
234 | bool success = m_OfflineIMService.StoreMessage(im, out reason); | 230 | bool success = m_OfflineIMService.StoreMessage(im, out reason); |
235 | 231 | ||