whoops
This commit is contained in:
parent
cb8945b8ef
commit
d5f6d6dd2e
|
|
@ -439,7 +439,7 @@ ChatModule.prototype.sendMessage = function (msgobj) {
|
||||||
this.dirty = true;
|
this.dirty = true;
|
||||||
this.buffer.push(msgobj);//msg buffer push, trims it down to 15 messages
|
this.buffer.push(msgobj);//msg buffer push, trims it down to 15 messages
|
||||||
if (this.channel.uniqueName === "mods"){
|
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();
|
this.buffer.shift();
|
||||||
}
|
}
|
||||||
}else if (this.buffer.length > 15) {
|
}else if (this.buffer.length > 15) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue