aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2012-10-18 05:31:44 +0900
committeranekos2012-10-18 05:31:44 +0900
commitc455faf5e76291532a382b4d2e0558de6a96a17d (patch)
treedaf4c59828691ebe4f0605fd40135ce722184177 /twittperator.js
parent981a7c8f38a4cbc042e35669e4d01880a5da4b2a (diff)
downloadvimperator-plugins-c455faf5e76291532a382b4d2e0558de6a96a17d.tar.bz2
Reset restartCount
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/twittperator.js b/twittperator.js
index 88d80b7..0da88e8 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1583,6 +1583,7 @@ let INFO =
updateRetryTimer(restart);
let lines = data.split(/\r\n|[\r\n]/);
if (lines.length >= 2) {
+ restartCount = 0;
lines[0] = buf + lines[0];
for (let [, line] in Iterator(lines.slice(0, -1))) {
try {