diff --git a/vote/VoteParser.js b/vote/VoteParser.js index ea09d4ab31c7085526d857c2ede65d0b1a2d320a..abe3e63d822cc7c14fa3be11f2fe3fdf9cc2561d 100644 --- a/vote/VoteParser.js +++ b/vote/VoteParser.js @@ -119,7 +119,7 @@ class VoteParser{ // If we had more messages before the update, we get rid of them here this.infoMessagesActor.splice(actor.length) // If in the opposite we have more messages now, we re-send everything - if (actor.length > this.infoMessagesAction.length) { + if (actor.length > this.infoMessagesActor.length) { this.#resetStoredMessages(); return await this.updateBase(category); } @@ -191,4 +191,4 @@ class VoteParser{ } -module.exports = VoteParser; \ No newline at end of file +module.exports = VoteParser;