made loop better

38b1c26396c67bd8a5283e0f8fd06b08c3d9caa9

BPplays <andymalbp@gmail.com>

1 files changed, +2 -0Ignore whitespace
server.js+2 -0
@@ -394,7 +394,9 @@ async function getHasIP() {
394 if (info.family === 'IPv4') {394 if (info.family === 'IPv4') {
395 hasIPv4 = true;395 hasIPv4 = true;
396 }396 }
397 if (hasIPv6 && hasIPv4) break;
397 }398 }
399 if (hasIPv6 && hasIPv4) break;
398 }400 }
399 return [hasIPv6, hasIPv4];401 return [hasIPv6, hasIPv4];
400}402}