This commit is contained in:
Erik 2021-06-22 19:01:16 +03:00
parent 14a0f0f1a0
commit fc1d74d800
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16

View File

@ -359,7 +359,10 @@ class Modmail {
const amount = this.queue.length;
if (!amount) {
if (this.lastReminder) await this.lastReminder.delete();
if (this.lastReminder) {
await this.lastReminder.delete();
this.lastReminder = null;
}
return;
}