Commit b2795812 authored by Neoony's avatar Neoony
Browse files

Adjust "lobby is down" message in !srv

parent 200a2027
...@@ -101,7 +101,7 @@ function RefreshSQL() ...@@ -101,7 +101,7 @@ function RefreshSQL()
{ {
var LobbyUp = 0; var LobbyUp = 0;
messagex = ""; messagex = "";
messageServerOn = "```No full data yet. Try again in < 10 seconds``````diff\n-Connection to the database/lobby is down!``````diff\n-Fast refreshing might be down, info might be OUTDATED (< 5 minutes refresh time)```"; messageServerOn = "```diff\n-Lobby server is down!``````diff\n-Fast refreshing might be down, info might be slightly OUTDATED (<= 5 minutes refresh time)```";
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) 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) 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