Commit c48f8de9 authored by Neoony's avatar Neoony
Browse files

Fix for !srv message getting bigger and bigger if the lobby server is down,...

Fix for !srv message getting bigger and bigger if the lobby server is down, making the bots !srv message eventually stuck
parent b2b56b7b
......@@ -100,7 +100,7 @@ function KillSQL()
function RefreshSQL()
{
messagex = "";
messageServerOn;
messageServerOn = "```No full data yet. Try again in < 10 seconds``````diff\n-Connection to the database/lobby is down!```";
connection.query("SELECT COUNT(*) as cnt FROM `LobbyDB`.`servers` WHERE password=0 AND isenabled=1 AND addr!='80.112.155.100:27017' ORDER BY players DESC LIMIT 10;", function (error, results, fields)
{
if (error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment