diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/ChatModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ChatModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs index 2fe308d..c2611d0 100644 --- a/OpenSim/Region/Environment/Modules/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/ChatModule.cs | |||
@@ -126,7 +126,9 @@ namespace OpenSim.Region.Environment.Modules | |||
126 | LLUUID fromAgentID = LLUUID.Zero; | 126 | LLUUID fromAgentID = LLUUID.Zero; |
127 | 127 | ||
128 | if (e.Sender != null) | 128 | if (e.Sender != null) |
129 | { | ||
129 | avatar = scene.GetScenePresence(e.Sender.AgentId); | 130 | avatar = scene.GetScenePresence(e.Sender.AgentId); |
131 | } | ||
130 | 132 | ||
131 | if (avatar != null) | 133 | if (avatar != null) |
132 | { | 134 | { |