diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs index 802d984..34f66d8 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs | |||
@@ -37,8 +37,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
37 | { | 37 | { |
38 | public class World : IWorld | 38 | public class World : IWorld |
39 | { | 39 | { |
40 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
41 | |||
42 | private readonly Scene m_internalScene; | 40 | private readonly Scene m_internalScene; |
43 | private readonly Heightmap m_heights; | 41 | private readonly Heightmap m_heights; |
44 | 42 | ||
@@ -94,6 +92,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
94 | 92 | ||
95 | private void HandleChatPacket(OSChatMessage chat) | 93 | private void HandleChatPacket(OSChatMessage chat) |
96 | { | 94 | { |
95 | if(string.IsNullOrEmpty(chat.Message)) | ||
96 | return; | ||
97 | |||
97 | // Object? | 98 | // Object? |
98 | if (chat.Sender == null && chat.SenderObject != null) | 99 | if (chat.Sender == null && chat.SenderObject != null) |
99 | { | 100 | { |