diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs index ab141eb..2dc7384 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/InstantMessageModule.cs | |||
@@ -156,6 +156,12 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
156 | return; | 156 | return; |
157 | } | 157 | } |
158 | 158 | ||
159 | if (dialog == (byte)InstantMessageDialog.MessageFromAgent || | ||
160 | dialog == (byte)InstantMessageDialog.MessageFromObject) | ||
161 | { | ||
162 | im.offline = 1; | ||
163 | } | ||
164 | |||
159 | if (m_TransferModule != null) | 165 | if (m_TransferModule != null) |
160 | { | 166 | { |
161 | m_TransferModule.SendInstantMessage(im, | 167 | m_TransferModule.SendInstantMessage(im, |