Skip to content

Commit

Permalink
Merge 7a28b3b into 8b1a86f
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jun 29, 2020
2 parents 8b1a86f + 7a28b3b commit 348ec2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/controllers/SdtdServer/is-online.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ module.exports = {
authToken: sdtdServer.authToken
}).exec({
success: (response) => {
if (!response) {
return exits.success(false);
}
if (response.gametime) {
return exits.success(true);
} else {
Expand Down

0 comments on commit 348ec2f

Please sign in to comment.