diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 7414340..978f34e 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -83,11 +83,7 @@ namespace OpenSim.Region.ClientStack | |||
83 | break; | 83 | break; |
84 | case PacketType.ChatFromViewer: | 84 | case PacketType.ChatFromViewer: |
85 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket) Pack; | 85 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket) Pack; |
86 | if (Helpers.FieldToUTF8String(inchatpack.ChatData.Message) == "") | 86 | |
87 | { | ||
88 | //empty message so don't bother with it | ||
89 | break; | ||
90 | } | ||
91 | string fromName = ""; //ClientAvatar.firstname + " " + ClientAvatar.lastname; | 87 | string fromName = ""; //ClientAvatar.firstname + " " + ClientAvatar.lastname; |
92 | byte[] message = inchatpack.ChatData.Message; | 88 | byte[] message = inchatpack.ChatData.Message; |
93 | byte type = inchatpack.ChatData.Type; | 89 | byte type = inchatpack.ChatData.Type; |