From c270a7054a9fcf23164ba75ebb2646baf507fabc Mon Sep 17 00:00:00 2001 From: Brian White Date: Wed, 21 Nov 2012 17:02:16 -0500 Subject: [PATCH] fix style --- lib/imap.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/imap.js b/lib/imap.js index 347d253..2c2c371 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -177,13 +177,12 @@ ImapConnection.prototype.connect = function(loginCb) { self._send('CAPABILITY', function() { // No need to attempt the login sequence if we're on a PREAUTH // connection. - if (state.status != STATES.AUTH) { + if (state.status !== STATES.AUTH) { // First get pre-auth capabilities, including server-supported auth // mechanisms self._login(redo); - } else { + } else redo(); - }; }); });