diff options
Diffstat (limited to '')
-rw-r--r-- | lib/feed2imap/imap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb index 3501530..952fd7c 100644 --- a/lib/feed2imap/imap.rb +++ b/lib/feed2imap/imap.rb @@ -87,7 +87,7 @@ class ImapAccount # tests if the folder exists and create it if not def create_folder_if_not_exists(folder) return if @existing_folders.include?(folder) - if !@connection.list('', folder).nil? + if @connection.list('', folder).nil? @connection.create(folder) @connection.subscribe(folder) end |