aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat
diff options
context:
space:
mode:
authorDr Scofield2008-11-06 13:13:08 +0000
committerDr Scofield2008-11-06 13:13:08 +0000
commit09f86d7e99a4c577a2f6e2c650ad430a45c86aca (patch)
treecc3d8774c7256c0a08e6c65aba92f5cb55ceb0bf /OpenSim/Region/Environment/Modules/Avatar/Chat
parentFrom: Christopher Yeoh <cyeoh@au1.ibm.com> (diff)
downloadopensim-SC-09f86d7e99a4c577a2f6e2c650ad430a45c86aca.zip
opensim-SC-09f86d7e99a4c577a2f6e2c650ad430a45c86aca.tar.gz
opensim-SC-09f86d7e99a4c577a2f6e2c650ad430a45c86aca.tar.bz2
opensim-SC-09f86d7e99a4c577a2f6e2c650ad430a45c86aca.tar.xz
- fixes comparison of struct against null (no no no)
- fixes IRCBridgeModule's XmlRpc method really paying attention to region parameter - cleans up indentation in IRCBridge code - fixes ConciergeModule exception on client logout
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Chat')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs10
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs2
3 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
index 4fc744b..6265698 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChannelState.cs
@@ -486,10 +486,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
486 { 486 {
487 487
488 m_log.InfoFormat("[IRC-Channel-{0}] Closing channel <{1} to server <{2}:{3}>", 488 m_log.InfoFormat("[IRC-Channel-{0}] Closing channel <{1} to server <{2}:{3}>",
489 idn, IrcChannel, Server, Port); 489 idn, IrcChannel, Server, Port);
490 490
491 m_log.InfoFormat("[IRC-Channel-{0}] There are {1} active clients", 491 m_log.InfoFormat("[IRC-Channel-{0}] There are {1} active clients",
492 idn, clientregions.Count); 492 idn, clientregions.Count);
493 493
494 irc.Close(); 494 irc.Close();
495 495
@@ -498,7 +498,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
498 public void Open() 498 public void Open()
499 { 499 {
500 m_log.InfoFormat("[IRC-Channel-{0}] Opening channel <{1} to server <{2}:{3}>", 500 m_log.InfoFormat("[IRC-Channel-{0}] Opening channel <{1} to server <{2}:{3}>",
501 idn, IrcChannel, Server, Port); 501 idn, IrcChannel, Server, Port);
502 502
503 irc.Open(); 503 irc.Open();
504 504
@@ -524,7 +524,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
524 public void AddRegion(RegionState rs) 524 public void AddRegion(RegionState rs)
525 { 525 {
526 m_log.InfoFormat("[IRC-Channel-{0}] Adding region {1} to channel <{2} to server <{3}:{4}>", 526 m_log.InfoFormat("[IRC-Channel-{0}] Adding region {1} to channel <{2} to server <{3}:{4}>",
527 idn, rs.Region, IrcChannel, Server, Port); 527 idn, rs.Region, IrcChannel, Server, Port);
528 if (!clientregions.Contains(rs)) 528 if (!clientregions.Contains(rs))
529 { 529 {
530 clientregions.Add(rs); 530 clientregions.Add(rs);
@@ -540,7 +540,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
540 { 540 {
541 541
542 m_log.InfoFormat("[IRC-Channel-{0}] Removing region {1} from channel <{2} to server <{3}:{4}>", 542 m_log.InfoFormat("[IRC-Channel-{0}] Removing region {1} from channel <{2} to server <{3}:{4}>",
543 idn, rs.Region, IrcChannel, Server, Port); 543 idn, rs.Region, IrcChannel, Server, Port);
544 544
545 if (clientregions.Contains(rs)) 545 if (clientregions.Contains(rs))
546 { 546 {
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
index 094fa6d..47d3265 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
@@ -241,7 +241,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
241 if (rs.Region == region) 241 if (rs.Region == region)
242 { 242 {
243 responseData["server"] = rs.cs.Server; 243 responseData["server"] = rs.cs.Server;
244 responseData["port"] = rs.cs.Port; 244 responseData["port"] = (int)rs.cs.Port;
245 responseData["user"] = rs.cs.User; 245 responseData["user"] = rs.cs.User;
246 responseData["channel"] = rs.cs.IrcChannel; 246 responseData["channel"] = rs.cs.IrcChannel;
247 responseData["enabled"] = rs.cs.irc.Enabled; 247 responseData["enabled"] = rs.cs.irc.Enabled;
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
index 3ebb226..c52375d 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
@@ -183,7 +183,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
183 m_baseNick = cs.BaseNickname; 183 m_baseNick = cs.BaseNickname;
184 m_randomizeNick = cs.RandomizeNickname; 184 m_randomizeNick = cs.RandomizeNickname;
185 m_ircChannel = cs.IrcChannel; 185 m_ircChannel = cs.IrcChannel;
186 m_port = (uint) cs.Port; 186 m_port = cs.Port;
187 m_user = cs.User; 187 m_user = cs.User;
188 188
189 if (m_watchdog == null) 189 if (m_watchdog == null)