aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/person.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-04-30 17:32:33 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-04-30 17:32:33 +0100
commit69ddc82f0aef0fb31ff6b3f12ba11dcfa8d35758 (patch)
treeac766ed567e4b30cfc0a439dd25851b471fb192d /lib/mauve/person.rb
parent8e6ad6771632eaf62f87756179695f7d01f9a6d4 (diff)
Fixed warn on nil method in person.
Diffstat (limited to 'lib/mauve/person.rb')
-rw-r--r--lib/mauve/person.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb
index a4acaf0..c1c12c6 100644
--- a/lib/mauve/person.rb
+++ b/lib/mauve/person.rb
@@ -169,7 +169,7 @@ module Mauve
#
notification_method = Configuration.current.notification_methods[name.to_s]
- @logger.warn "Notification method '#{name}' not defined (#{@person.username})" if notification_method.nil?
+ logger.warn "Notification method '#{name}' not defined (#{@person.username})" if notification_method.nil?
#
# Work out the destination
@@ -182,7 +182,7 @@ module Mauve
destination = nil
end
- @logger.warn "#{name} destination for #{@person.username} not set" if destination.nil?
+ logger.warn "#{name} destination for #{@person.username} not set" if destination.nil?
if args.first.is_a?(Hash)
conditions = @base_conditions.merge(args.pop)