mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-26 18:01:01 +08:00
Fixed invalid function invocation
This commit is contained in:
parent
d59eb0058d
commit
5a9f584c74
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class IMAPCommand {
|
|||
countBadResponses() {
|
||||
this.connection._badCount++;
|
||||
if (this.connection._badCount > MAX_BAD_COMMANDS) {
|
||||
this.clearNotificationListener();
|
||||
this.connection.clearNotificationListener();
|
||||
this.connection.send('* BYE Too many protocol errors');
|
||||
setImmediate(() => this.connection.close(true));
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue