diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feed2imap/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb index ac83be1..3e43292 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -88,7 +88,7 @@ class F2IConfig def push_feed(target) Proc.new do |f| if f.has_key? 'group' - ftarget = calc_target(target, f['target'].to_s) + ftarget = calc_target(target, (f.has_key? 'target') ? f['target'].to_s : f['group'].to_s) f['feeds'].each &(push_feed ftarget) elsif f['disable'].nil? ftarget = calc_target(target, (f.has_key? 'target') ? f['target'].to_s : f['name'].to_s) |