aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 12:05:00 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 12:05:00 +0100
commit75965bd39036705cf20ad205a712c47c56261d76 (patch)
treee04b5a0ddc599792d9df136d19367f9d8fb77124 /lib
parent68f9f10e94c794d57c7b48e0bc191d51201ece16 (diff)
Updated notifier only to try to connect to objects that respond to xmpp.
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/notifier.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/notifier.rb b/lib/mauve/notifier.rb
index c473acf..2e3ac89 100644
--- a/lib/mauve/notifier.rb
+++ b/lib/mauve/notifier.rb
@@ -69,7 +69,7 @@ module Mauve
#
# Ignore people without XMPP stanzas.
#
- next unless person.xmpp
+ next unless person.respond_to?(:xmpp) and person.xmpp
#
# For each JID, either ensure they're on our roster, or that we're in