aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/imap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/imap.rb')
-rw-r--r--lib/net/imap.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index 7bd453f864..a248d75e1b 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -2865,8 +2865,15 @@ module Net
break
when T_SPACE
shift_token
- else
+ when T_NUMBER
data.push(number)
+ when T_LPAR
+ # TODO: include the MODSEQ value in a response
+ shift_token
+ match(T_ATOM)
+ match(T_SPACE)
+ match(T_NUMBER)
+ match(T_RPAR)
end
end
else