Minor patch

This commit is contained in:
Carlos
2019-08-17 12:56:18 +02:00
parent 716221c678
commit 99ab72ec98
3 changed files with 6 additions and 5 deletions

View File

@ -85,7 +85,7 @@ function onWebSocketsMessage(message){
console.log(message);
//Add interval for Players, CPU and RAM info, if not set
if(statusCommandsInterval == -1){
if(statusCommandsInterval == -1 && message.status !== 401){
statusCommandsInterval = setInterval(function(){
connectionManager.askForInfo();
}, 2500);