diff options
author | Justin Clark-Casey (justincc) | 2014-05-12 22:23:24 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-12 22:23:24 +0100 |
commit | 8457044b2f46e477442e3dec520c9a47ca20dd6b (patch) | |
tree | 8f8691a349948c15e4fe66a17e01bc3d0a1154c4 /OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | |
parent | minor: eliminate unused UUID in xmlrpc GroupsMessagingModule.ProcessMessageFr... (diff) | |
download | opensim-SC_OLD-8457044b2f46e477442e3dec520c9a47ca20dd6b.zip opensim-SC_OLD-8457044b2f46e477442e3dec520c9a47ca20dd6b.tar.gz opensim-SC_OLD-8457044b2f46e477442e3dec520c9a47ca20dd6b.tar.bz2 opensim-SC_OLD-8457044b2f46e477442e3dec520c9a47ca20dd6b.tar.xz |
Eliminate subsequently unused scene finding in UndeliveredMessage() method of xmlrpc and core offline IM modules
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs index 7f3d0a2..bd2b2fe 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | |||
@@ -226,10 +226,6 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
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 | bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>( | 229 | bool success = SynchronousRestObjectRequester.MakeRequest<GridInstantMessage, bool>( |
234 | "POST", m_RestURL+"/SaveMessage/", im); | 230 | "POST", m_RestURL+"/SaveMessage/", im); |
235 | 231 | ||