summary refs log tree commit diff homepage
path: root/index.js
diff options
context:
space:
mode:
authorsecret_online <me+github@secretonline.co>2016-01-24 09:17:35 +1300
committersecret_online <me+github@secretonline.co>2016-01-24 09:17:35 +1300
commit3faba571382532532f6daa570c9df39a5bda976b (patch)
treea4e375fdcee305371b2f0d62b7f2f5a6bc7b0939 /index.js
parentReconnect RCON on error (diff)
downloadshulker-3faba571382532532f6daa570c9df39a5bda976b.tar.gz
shulker-3faba571382532532f6daa570c9df39a5bda976b.zip
Add config option for RCON delay
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index fba3da4..7a288f8 100644
--- a/index.js
+++ b/index.js
@@ -24,7 +24,7 @@ client.on("auth", function() {
     client.disconnect();
     setTimeout(function() {
         client.connect();
-    }, 10000);
+    }, c.RCON_RECONNECT_DELAY * 1000);
 });
 
 client.connect();