diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mauve/person.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb index acab8b7..a10e86a 100644 --- a/lib/mauve/person.rb +++ b/lib/mauve/person.rb @@ -116,8 +116,8 @@ module Mauve @logger.warn "#{name} destination for #{@person.username} not set" if destination.nil? - if args.first.is_a?(Array) - conditions = @base_conditions.merge(args[0]) + if args.first.is_a?(Hash) + conditions = @base_conditions.merge(args.pop) else conditions = @base_conditions end |