From 8874fc2ac33cfc89f405a5d9e82878c314a649cb Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Tue, 16 Jul 2019 14:20:50 +0800 Subject: [PATCH] Update IPCheck.js --- Scripts/IPCheck.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Scripts/IPCheck.js b/Scripts/IPCheck.js index 7fe0e17..f0e2b45 100644 --- a/Scripts/IPCheck.js +++ b/Scripts/IPCheck.js @@ -1,14 +1,9 @@ -// if ($response.statusCode != 200) { -// $done(Null); -// } - +if ($response.statusCode != 200) { + $done(Null); +} // var body = $response.body; // var obj = JSON.parse(body); -if ($response.statusCode != 200) { - $done(Null); -} - const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺','🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖','🎃', '👺', '👁', '🐶', '🐼','🐌', '👥'] function getRandomInt(max) {