Subject: | connection select/examine aborts early |
SELECT INBOX
followed by
EXAMINE INBOX
really aught to set the current mailbox to read-only, but it fails because of
this line (in Net::IMAP::Server::Connection::selected()):
return $self->_selected if $mailbox and $mailbox eq $self->_selected;
In my inc/ dir, I have added this:
return $self->_selected if $mailbox and $mailbox eq $self->_selected
and @_ < 2;
I'm not sure how you want to handle it, but it seemed a reasonable fix to
me.
--
If riding in an airplane is flying, then riding in a boat is swimming.
114 jumps, 47.2 minutes of freefall, 90.4 freefall miles.