aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index d92127f..05b1118 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -100,7 +100,17 @@ namespace OpenSim.Region.ClientStack
100 100
101 if (OnChatFromViewer != null) 101 if (OnChatFromViewer != null)
102 { 102 {
103 this.OnChatFromViewer(message, type, channel, fromPos, fromName, fromAgentID); 103 ChatFromViewerArgs args = new ChatFromViewerArgs();
104 args.Channel = channel;
105 args.From = fromName;
106 args.Message = Util.FieldToString(message);
107 args.Type = (ChatTypeEnum)type;
108 args.Position = fromPos;
109
110 args.Scene = Scene;
111 args.Sender = this;
112
113 this.OnChatFromViewer(this, args);
104 } 114 }
105 break; 115 break;
106 case PacketType.ImprovedInstantMessage: 116 case PacketType.ImprovedInstantMessage: