aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorMW2008-04-01 13:09:29 +0000
committerMW2008-04-01 13:09:29 +0000
commitf43e077150d39b454bd66d43a72736a75614a721 (patch)
tree983031434fff79aa0ecc41478efccb205557d2ce /OpenSim/Region/Environment/Modules
parentsadly, had to modify line by Ter because it caused mono cil compiler (diff)
downloadopensim-SC-f43e077150d39b454bd66d43a72736a75614a721.zip
opensim-SC-f43e077150d39b454bd66d43a72736a75614a721.tar.gz
opensim-SC-f43e077150d39b454bd66d43a72736a75614a721.tar.bz2
opensim-SC-f43e077150d39b454bd66d43a72736a75614a721.tar.xz
a few small changes
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs
index ab6b791..08c0a11 100644
--- a/OpenSim/Region/Environment/Modules/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/ChatModule.cs
@@ -62,6 +62,13 @@ namespace OpenSim.Region.Environment.Modules
62 { 62 {
63 lock (m_syncInit) 63 lock (m_syncInit)
64 { 64 {
65 if (!m_scenes.Contains(scene))
66 {
67 m_scenes.Add(scene);
68 scene.EventManager.OnNewClient += NewClient;
69 scene.RegisterModuleInterface<ISimChat>(this);
70 }
71
65 // wrap this in a try block so that defaults will work if 72 // wrap this in a try block so that defaults will work if
66 // the config file doesn't specify otherwise. 73 // the config file doesn't specify otherwise.
67 try 74 try
@@ -82,13 +89,6 @@ namespace OpenSim.Region.Environment.Modules
82 { 89 {
83 } 90 }
84 91
85 if (!m_scenes.Contains(scene))
86 {
87 m_scenes.Add(scene);
88 scene.EventManager.OnNewClient += NewClient;
89 scene.RegisterModuleInterface<ISimChat>(this);
90 }
91
92 // setup IRC Relay 92 // setup IRC Relay
93 if (m_irc == null) { m_irc = new IRCChatModule(config); } 93 if (m_irc == null) { m_irc = new IRCChatModule(config); }
94 if (m_irc_connector == null) 94 if (m_irc_connector == null)