summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-01-25 14:27:31 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-01-25 14:27:31 +0100
commitbd0daee7fd8d3e58433b0c394b1bc58b8b52e8e3 (patch)
tree9ed9e0098341765970b368431b3153f4112e9e68 /program/lib
parent6c27c3b55e7516ae1d2b99ecd1188203d022de78 (diff)
parent18372a236d459f2a098c8604a0f912f9aa728f98 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 8d84bf736..b9a796c33 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -906,7 +906,7 @@ class rcube_imap_generic
*/
function closeConnection()
{
- if ($this->putLine($this->nextTag() . ' LOGOUT')) {
+ if ($this->logged && $this->putLine($this->nextTag() . ' LOGOUT')) {
$this->readReply();
}