diff options
author | Adam Frisby | 2009-05-30 04:07:58 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-30 04:07:58 +0000 |
commit | 1bb98a1eb0f15da904657bc625b27751314af8dc (patch) | |
tree | a143981f195ff0691c8bace2d7cf34eb83f39434 /OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs | |
parent | * More IRCClientView fiddling. Now implements IClientAPI & IClientCore. (diff) | |
download | opensim-SC-1bb98a1eb0f15da904657bc625b27751314af8dc.zip opensim-SC-1bb98a1eb0f15da904657bc625b27751314af8dc.tar.gz opensim-SC-1bb98a1eb0f15da904657bc625b27751314af8dc.tar.bz2 opensim-SC-1bb98a1eb0f15da904657bc625b27751314af8dc.tar.xz |
* More Tweaks
Diffstat (limited to 'OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/IRCStackModule.cs | 9 |
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 @@ | |||
1 | using System.Net; | 1 | using System.Net; |
2 | using System.Reflection; | ||
3 | using log4net; | ||
2 | using Nini.Config; | 4 | using Nini.Config; |
3 | using OpenSim.Region.Framework.Interfaces; | 5 | using OpenSim.Region.Framework.Interfaces; |
4 | using OpenSim.Region.Framework.Scenes; | 6 | using 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() |