Update BisectHosting.java

This commit is contained in:
libraryaddict 2023-06-25 23:02:41 +12:00 committed by GitHub
parent b51dbbe6e5
commit b17f86e03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ public class BisectHosting {
try {
ip = getFinalURL("http://" + ip);
if (ip.startsWith("https://www.bisecthosting.com/")) {
if (ip != null && ip.startsWith("https://www.bisecthosting.com/")) {
hostedBy = true;
}
} catch (IOException ignored) {