diff --git a/lib/imap.js b/lib/imap.js index 8f1e1f5..6121699 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -1295,8 +1295,8 @@ ImapConnection.prototype._resetBox = function() { this._state.box.permFlags = []; this._state.box.keywords = []; this._state.box.name = undefined; - this._State.box.displayName = undefined; - this._State.box._newName = undefined; + this._state.box.displayName = undefined; + this._state.box._newName = undefined; this._state.box.messages.total = 0; this._state.box.messages.new = 0; };