aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorDr Scofield2008-07-11 14:33:47 +0000
committerDr Scofield2008-07-11 14:33:47 +0000
commiteec67d74021c59341a780704e3f2e61715c7340a (patch)
tree0fc1f06ec4b58d370ad979f3bddbbd3850f8b84a /OpenSim/Region/Environment/Modules/Avatar
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-eec67d74021c59341a780704e3f2e61715c7340a.zip
opensim-SC_OLD-eec67d74021c59341a780704e3f2e61715c7340a.tar.gz
opensim-SC_OLD-eec67d74021c59341a780704e3f2e61715c7340a.tar.bz2
opensim-SC_OLD-eec67d74021c59341a780704e3f2e61715c7340a.tar.xz
trying to fix mantis #1711.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs17
1 files changed, 12 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
index 16fd753..f90b7e6 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCBridgeModule.cs
@@ -503,11 +503,18 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
503 public void Reconnect() 503 public void Reconnect()
504 { 504 {
505 m_connected = false; 505 m_connected = false;
506 listener.Abort(); 506 try
507 pingSender.Abort(); 507 {
508 m_writer.Close(); 508 listener.Abort();
509 m_reader.Close(); 509 pingSender.Abort();
510 m_tcp.Close(); 510 m_writer.Close();
511 m_reader.Close();
512 m_tcp.Close();
513 }
514 catch (Exception)
515 {
516 }
517
511 if (m_enabled) 518 if (m_enabled)
512 { 519 {
513 Connect(m_last_scenes); 520 Connect(m_last_scenes);