From 4ddc7d66d6d75e7b2a4a4ccde9abda59beabd213 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 3 Sep 2008 18:04:41 +0000 Subject: type change from ChatFromViewerArgs -> OSChatMessage to line up with trunk. --- .../Environment/Modules/ContentManagementSystem/CMController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/CMController.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/CMController.cs index 465741f..d3ca3cf 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/CMController.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/CMController.cs @@ -180,8 +180,8 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement NewClient(view, (IClientAPI) currentJob.Data1); break; case WorkType.SIMCHAT: - m_log.Debug("[CONTENT MANAGEMENT] MAIN LOOP -- Message received: " + ((ChatFromViewerArgs) currentJob.Data1).Message); - SimChat(model, view, (ChatFromViewerArgs) currentJob.Data1, channel); + m_log.Debug("[CONTENT MANAGEMENT] MAIN LOOP -- Message received: " + ((OSChatMessage) currentJob.Data1).Message); + SimChat(model, view, (OSChatMessage) currentJob.Data1, channel); break; default: m_log.Debug("[CONTENT MANAGEMENT] MAIN LOOP -- uuuuuuuuuh, what?"); @@ -265,7 +265,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement /// /// Only called by the MainLoop. Takes the message from a user sent to the channel and executes the proper command. /// - public void SimChat(CMModel model, CMView view, ChatFromViewerArgs e, int channel) + public void SimChat(CMModel model, CMView view, OSChatMessage e, int channel) { if (e.Channel != channel) return; @@ -565,7 +565,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement } //This is stupid, the same information is contained in the first and second argument - protected void SimChatSent(Object x, ChatFromViewerArgs e) + protected void SimChatSent(Object x, OSChatMessage e) { m_log.Debug("[CONTENT MANAGEMENT] SIMCHAT SENT !!!!!!!"); m_log.Debug("[CONTENT MANAGEMENT] message was: " + e.Message); -- cgit v1.1