diff --git a/lib/Connection.js b/lib/Connection.js index 778f655..11ea916 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -1140,8 +1140,7 @@ Connection.prototype._resUntagged = function(info) { if (this._box) { if (this._box.messages.total > 0) --this._box.messages.total; - if (!this._curReq) - this.emit('expunge', info.num); + this.emit('expunge', info.num); } } else if (type === 'ok') { if (this.state === 'connected' && !this._curReq)