diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs index 1b7eb97..339f1f9 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/InstantMessageModule.cs | |||
@@ -127,7 +127,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage | |||
127 | return; | 127 | return; |
128 | } | 128 | } |
129 | 129 | ||
130 | GridInstantMessage im = new GridInstantMessage(client.Scene, | 130 | IScene scene = client == null ? null : client.Scene; |
131 | GridInstantMessage im = new GridInstantMessage(scene, | ||
131 | fromAgentID, fromAgentName, fromAgentSession, toAgentID, | 132 | fromAgentID, fromAgentName, fromAgentSession, toAgentID, |
132 | dialog, fromGroup, message, imSessionID, | 133 | dialog, fromGroup, message, imSessionID, |
133 | offline != 0 ? true : false, Position, | 134 | offline != 0 ? true : false, Position, |