From 3e384d8bc69d3b2473cb3ba3a2cdff0d85a2a9f3 Mon Sep 17 00:00:00 2001 From: aynik Date: Tue, 14 Apr 2015 15:16:43 +0200 Subject: [PATCH] removed in-memory buffer for logs --- src/models/chan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/chan.js b/src/models/chan.js index a281273..774629d 100644 --- a/src/models/chan.js +++ b/src/models/chan.js @@ -26,7 +26,7 @@ util.inherits(MessageArray, Array); MessageArray.prototype.push = function(message) { var config = Helper.getConfig(); if (config.log === true) { - if (this.length > 250) this.splice(50); + if (this.length > 50) this.splice(50); } Array.prototype.push.call(this, message); this.count++;