mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
cleaning up IRCBridgeModule to allow for configuration from in-world,
chat relaying via private channels, and old IRCBridgeModule behaviour. also cleaning up IRCBridgeModule's OpenSim.ini configuration variable names (still supporting "old" variable names). refactored IRCChatModule into IRCConnector and incorporating watchdog from IRCBridgeModule into IRCConnector. enabling ChatModule to be used as a super-class and utilizing it in ConciergeModule.
This commit is contained in:
@@ -93,15 +93,15 @@ namespace OpenSim.Region.Environment
|
||||
m_loadedSharedModules.Add(dynamicModule.Name, dynamicModule);
|
||||
}
|
||||
|
||||
ChatModule chat = new ChatModule();
|
||||
if (m_loadedSharedModules.ContainsKey(chat.Name))
|
||||
{
|
||||
m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", chat.Name, "ChatModule");
|
||||
}
|
||||
else
|
||||
{
|
||||
m_loadedSharedModules.Add(chat.Name, chat);
|
||||
}
|
||||
// ChatModule chat = new ChatModule();
|
||||
// if (m_loadedSharedModules.ContainsKey(chat.Name))
|
||||
// {
|
||||
// m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", chat.Name, "ChatModule");
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// m_loadedSharedModules.Add(chat.Name, chat);
|
||||
// }
|
||||
|
||||
InstantMessageModule imMod = new InstantMessageModule();
|
||||
if (m_loadedSharedModules.ContainsKey(imMod.Name))
|
||||
|
||||
Reference in New Issue
Block a user