From fd3ce59b8d748a1bb7b7f8aa6c8bcfaa927d8aa7 Mon Sep 17 00:00:00 2001 From: Rubycut Date: Sun, 27 Nov 2011 00:32:18 +0100 Subject: [PATCH] addKeywords is not working --- imap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap.js b/imap.js index 9179b7f..23256b0 100644 --- a/imap.js +++ b/imap.js @@ -715,7 +715,7 @@ ImapConnection.prototype.delFlags = function(uids, flags, cb) { }; ImapConnection.prototype.addKeywords = function(uids, flags, cb) { - if (!self._state.box._newKeywords) + if (!this._state.box._newKeywords) throw new Error('This mailbox does not allow new keywords to be added'); try { this._store(uids, flags, true, cb);