diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs index 10781e9..8aab90a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs | |||
@@ -150,6 +150,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure | |||
150 | 150 | ||
151 | void OnInstantMessage(IClientAPI client, GridInstantMessage im) | 151 | void OnInstantMessage(IClientAPI client, GridInstantMessage im) |
152 | { | 152 | { |
153 | if (im.dialog == (byte)InstantMessageDialog.RequestLure) | ||
154 | { | ||
155 | if (m_TransferModule != null) | ||
156 | m_TransferModule.SendInstantMessage(im, delegate (bool success) { }); | ||
157 | } | ||
153 | } | 158 | } |
154 | 159 | ||
155 | void OnIncomingInstantMessage(GridInstantMessage im) | 160 | void OnIncomingInstantMessage(GridInstantMessage im) |
@@ -170,6 +175,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure | |||
170 | if (m_TransferModule != null) | 175 | if (m_TransferModule != null) |
171 | m_TransferModule.SendInstantMessage(im, delegate(bool success) { }); | 176 | m_TransferModule.SendInstantMessage(im, delegate(bool success) { }); |
172 | } | 177 | } |
178 | |||
173 | } | 179 | } |
174 | 180 | ||
175 | public void OnStartLure(byte lureType, string message, UUID targetid, IClientAPI client) | 181 | public void OnStartLure(byte lureType, string message, UUID targetid, IClientAPI client) |