From 7342d7ef8c277c32bb161eeb585d98099f2b04fe Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 28 Nov 2008 03:53:48 -0500
Subject: [PATCH] - re-fix r2095

---
 index.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/index.php b/index.php
index 8b31f99..d4fc543 100644
--- a/index.php
+++ b/index.php
@@ -100,7 +100,7 @@
     $OUTPUT->redirect();
   }
   else {
-    $OUTPUT->show_message($IMAP->error_code == 0 ? 'loginfailed' : 'imaperror', 'warning');
+    $OUTPUT->show_message($IMAP->error_code < -1 ? 'imaperror' : 'loginfailed', 'warning');
     $RCMAIL->kill_session();
   }
 }

--
Gitblit v1.9.1