aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
diff options
context:
space:
mode:
authorDr Scofield2008-11-03 17:17:57 +0000
committerDr Scofield2008-11-03 17:17:57 +0000
commitadd42f5e9b2d58a4978d4aab4440d5cc2d255a12 (patch)
tree1277fc6668ca6e34d58f7c137690f9c885106f71 /OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
parentdropping old IRCBridgeModule. (diff)
downloadopensim-SC-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.zip
opensim-SC-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.gz
opensim-SC-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.bz2
opensim-SC-add42f5e9b2d58a4978d4aab4440d5cc2d255a12.tar.xz
completing move to refactored multi-channel capable IRCBridgeModule
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
index f9089cb..4fc744b 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
@@ -97,7 +97,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
97 97
98 // IRC connector reference 98 // IRC connector reference
99 99
100 internal XIRCConnector irc = null; 100 internal IRCConnector irc = null;
101 101
102 internal int idn = _idk_++; 102 internal int idn = _idk_++;
103 103
@@ -256,7 +256,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
256 // values that, while independent of the IRC connetion, do still distinguish 256 // values that, while independent of the IRC connetion, do still distinguish
257 // this region's behavior. 257 // this region's behavior.
258 258
259 foreach (ChannelState xcs in XIRCBridgeModule.m_channels) 259 foreach (ChannelState xcs in IRCBridgeModule.m_channels)
260 { 260 {
261 if (cs.IsAPerfectMatchFor(xcs)) 261 if (cs.IsAPerfectMatchFor(xcs))
262 { 262 {
@@ -279,9 +279,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
279 279
280 m_log.DebugFormat("[IRC-Channel-{0}] New channel required", cs.idn); 280 m_log.DebugFormat("[IRC-Channel-{0}] New channel required", cs.idn);
281 281
282 if ((cs.irc = new XIRCConnector(cs)) != null) 282 if ((cs.irc = new IRCConnector(cs)) != null)
283 { 283 {
284 XIRCBridgeModule.m_channels.Add(cs); 284 IRCBridgeModule.m_channels.Add(cs);
285 285
286 m_log.InfoFormat("[IRC-Channel-{0}] New channel initialized for {1}, nick: {2}, commands {3}, private channels {4}", 286 m_log.InfoFormat("[IRC-Channel-{0}] New channel initialized for {1}, nick: {2}, commands {3}, private channels {4}",
287 cs.idn, rs.Region, cs.DefaultZone, 287 cs.idn, rs.Region, cs.DefaultZone,
@@ -554,7 +554,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
554 // contains information that is not differentiating from an 554 // contains information that is not differentiating from an
555 // IRC point-of-view. 555 // IRC point-of-view.
556 556
557 public static void OSChat(XIRCConnector p_irc, OSChatMessage c, bool cmsg) 557 public static void OSChat(IRCConnector p_irc, OSChatMessage c, bool cmsg)
558 { 558 {
559 559
560 // m_log.DebugFormat("[IRC-OSCHAT] from {0}:{1}", p_irc.Server, p_irc.IrcChannel); 560 // m_log.DebugFormat("[IRC-OSCHAT] from {0}:{1}", p_irc.Server, p_irc.IrcChannel);
@@ -568,7 +568,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
568 // Note that this code is responsible for completing some of the 568 // Note that this code is responsible for completing some of the
569 // settings for the inbound OSChatMessage 569 // settings for the inbound OSChatMessage
570 570
571 foreach (ChannelState cs in XIRCBridgeModule.m_channels) 571 foreach (ChannelState cs in IRCBridgeModule.m_channels)
572 { 572 {
573 if ( p_irc == cs.irc) 573 if ( p_irc == cs.irc)
574 { 574 {