From a2f8f58f7d71c9f7307938574d24822f41ab1e7b Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Tue, 27 May 2008 08:21:59 +0000 Subject: I'm dropping the ISimChat interface as that has now been replaced by EventManager events. also, i've added instructions to README.txt about running runprebuild.sh and on how to report bugs. plus some minor fixes (dropping m_log statement left over from debugging llOwnerSay, nicer catch of exception in IRCBridgeModule --- OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs | 2 +- OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Avatar/Chat') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs index c3fc26e..89437c5 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs @@ -41,7 +41,7 @@ using OpenSim.Region.Environment.Scenes; namespace OpenSim.Region.Environment.Modules.Avatar.Chat { - public class ChatModule : IRegionModule, ISimChat + public class ChatModule : IRegionModule { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs index 452ea7b..a31d620 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs @@ -41,7 +41,7 @@ using OpenSim.Region.Environment.Scenes; namespace OpenSim.Region.Environment.Modules.Avatar.Chat { - public class IRCBridgeModule : IRegionModule, ISimChat + public class IRCBridgeModule : IRegionModule { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -466,7 +466,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat } catch (Exception e) { - Console.WriteLine(e.ToString()); + m_log.ErrorFormat("[IRC] cannot connect to {0}:{1}: {2}", + m_server, m_port, e.Message); } return m_connected; } -- cgit v1.1