aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifiers
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-10-20 15:29:06 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-10-20 15:29:06 +0100
commit195ffe943614ac084839b590294ad740e4bb15d3 (patch)
treea6f9d89152cff31fe453d30f6240aa917833c88c /lib/mauve/notifiers
parent4f453dea9fffe8171c7585041b9a136c3a8b8fda (diff)
More XMPP robustification.
Diffstat (limited to 'lib/mauve/notifiers')
-rw-r--r--lib/mauve/notifiers/xmpp.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb
index 16c47bb..8254494 100644
--- a/lib/mauve/notifiers/xmpp.rb
+++ b/lib/mauve/notifiers/xmpp.rb
@@ -150,12 +150,7 @@ module Mauve
unless ex.nil? or @closing
logger.warn(["Caught",ex.class,ex.to_s,"during XMPP",where].join(" "))
logger.debug ex.backtrace.join("\n")
- @closing = true
- connect
- @mucs.each do |jid, muc|
- @mucs.delete(jid)
- join_muc(muc[:jid], muc[:password])
- end
+ self.close
end
end
rescue StandardError => ex