diff --git a/lib/imap.js b/lib/imap.js index 83a48b9..23e61aa 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -1062,7 +1062,7 @@ ImapConnection.prototype._fetch = function(which, uids, options, what, cb) { fetchers[''].push(stream); else fetchers[''] = [stream]; - if (typeof wp.cd === 'function') + if (typeof wp.cb === 'function') wp.cb(stream); } }