aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtwittperator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index 7757e3e..4c97d1c 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1177,7 +1177,7 @@
if (msg.text) {
history.unshift(msg);
if (history.length > 1000)
- __context__.Tweets = history = history.slice(0, 1000);
+ history.splice(1000);
}
}