diff options
author | Dr Scofield | 2008-10-20 17:31:54 +0000 |
---|---|---|
committer | Dr Scofield | 2008-10-20 17:31:54 +0000 |
commit | 72a388a7b6dfba8f93ffc5c5c45db4c44bb46480 (patch) | |
tree | db9ab06f6820806d8c2b3fc32029383971e955b7 /OpenSim/Region/Environment/ModuleLoader.cs | |
parent | Mantis #2438 (diff) | |
download | opensim-SC_OLD-72a388a7b6dfba8f93ffc5c5c45db4c44bb46480.zip opensim-SC_OLD-72a388a7b6dfba8f93ffc5c5c45db4c44bb46480.tar.gz opensim-SC_OLD-72a388a7b6dfba8f93ffc5c5c45db4c44bb46480.tar.bz2 opensim-SC_OLD-72a388a7b6dfba8f93ffc5c5c45db4c44bb46480.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/Environment/ModuleLoader.cs')
-rw-r--r-- | OpenSim/Region/Environment/ModuleLoader.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs index 09f2dda..f06fa0f 100644 --- a/OpenSim/Region/Environment/ModuleLoader.cs +++ b/OpenSim/Region/Environment/ModuleLoader.cs | |||
@@ -93,15 +93,15 @@ namespace OpenSim.Region.Environment | |||
93 | m_loadedSharedModules.Add(dynamicModule.Name, dynamicModule); | 93 | m_loadedSharedModules.Add(dynamicModule.Name, dynamicModule); |
94 | } | 94 | } |
95 | 95 | ||
96 | ChatModule chat = new ChatModule(); | 96 | // ChatModule chat = new ChatModule(); |
97 | if (m_loadedSharedModules.ContainsKey(chat.Name)) | 97 | // if (m_loadedSharedModules.ContainsKey(chat.Name)) |
98 | { | 98 | // { |
99 | m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", chat.Name, "ChatModule"); | 99 | // m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", chat.Name, "ChatModule"); |
100 | } | 100 | // } |
101 | else | 101 | // else |
102 | { | 102 | // { |
103 | m_loadedSharedModules.Add(chat.Name, chat); | 103 | // m_loadedSharedModules.Add(chat.Name, chat); |
104 | } | 104 | // } |
105 | 105 | ||
106 | InstantMessageModule imMod = new InstantMessageModule(); | 106 | InstantMessageModule imMod = new InstantMessageModule(); |
107 | if (m_loadedSharedModules.ContainsKey(imMod.Name)) | 107 | if (m_loadedSharedModules.ContainsKey(imMod.Name)) |