From d5f6d6dd2e0a75b4b24471b8a53486b39806f326 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Mon, 10 Jan 2022 00:54:32 +0000 Subject: [PATCH] whoops --- src/channel/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel/chat.js b/src/channel/chat.js index 6f44b850..6f894863 100644 --- a/src/channel/chat.js +++ b/src/channel/chat.js @@ -439,7 +439,7 @@ ChatModule.prototype.sendMessage = function (msgobj) { this.dirty = true; this.buffer.push(msgobj);//msg buffer push, trims it down to 15 messages if (this.channel.uniqueName === "mods"){ - if(this.buffer.length > 500){//make mods channel an exception :) Eventually this will be a setting per channel you can set from the web ui + if(this.buffer.length > 1000){//make mods channel an exception :) Eventually this will be a setting per channel you can set from the web ui this.buffer.shift(); } }else if (this.buffer.length > 15) {