summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-05-14 08:55:38 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-05-14 08:55:38 +0000
commit82698fa97ab75aff8aadd934f03264aed22ad682 (patch)
tree69db7be4f568cc7371a5ff8da04aba22703ddd8c /lib
parent6a1d8476735dd8c9581380cf6af8125da69022c4 (diff)
downloadfeed2imap-82698fa97ab75aff8aadd934f03264aed22ad682.tar.gz
feed2imap-82698fa97ab75aff8aadd934f03264aed22ad682.tar.bz2
feed2imap-82698fa97ab75aff8aadd934f03264aed22ad682.zip
fix
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@28 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/imap.rb b/lib/feed2imap/imap.rb
index db5df7a..8c4c912 100644
--- a/lib/feed2imap/imap.rb
+++ b/lib/feed2imap/imap.rb
@@ -103,7 +103,7 @@ class ImapAccount
if searchres.length > 0
# we get the flags from the first result and delete everything
flags = @connection.fetch(searchres[0], 'FLAGS')[0].attr['FLAGS']
- searchres.each { |m| @connection.store(m, "+FLAGS" [:Deleted]) }
+ searchres.each { |m| @connection.store(m, "+FLAGS", [:Deleted]) }
@connection.expunge
end
@connection.append(folder, mail, flags)