aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs
index 1c23c66..c807d7f 100644
--- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs
+++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs
@@ -1,4 +1,6 @@
1using System.Net; 1using System.Net;
2using System.Reflection;
3using log4net;
2using Nini.Config; 4using Nini.Config;
3using OpenSim.Region.Framework.Interfaces; 5using OpenSim.Region.Framework.Interfaces;
4using OpenSim.Region.Framework.Scenes; 6using OpenSim.Region.Framework.Scenes;
@@ -8,6 +10,8 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView
8{ 10{
9 class IRCStackModule : IRegionModule 11 class IRCStackModule : IRegionModule
10 { 12 {
13 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
14
11 private IRCServer m_server; 15 private IRCServer m_server;
12 private Scene m_scene; 16 private Scene m_scene;
13 17
@@ -22,7 +26,10 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView
22 26
23 void m_server_OnNewIRCClient(IRCClientView user) 27 void m_server_OnNewIRCClient(IRCClientView user)
24 { 28 {
25 m_scene.AddNewClient(user); 29 m_log.Info("[IRCd] Adding user...");
30 m_scene.ClientManager.Add(user.CircuitCode, user);
31 user.Start();
32 m_log.Info("[IRCd] Added user to Scene");
26 } 33 }
27 34
28 public void PostInitialise() 35 public void PostInitialise()