mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +01:00
actually fix
This commit is contained in:
parent
edf603018d
commit
9521ee1ca0
@ -100,7 +100,7 @@ class WebDashboardServer {
|
||||
DefaultDnsQuestion(reverseLookup(it.address), DnsRecordType.PTR)
|
||||
)
|
||||
info = ipLookup.await()
|
||||
ptr = dnsQuery.suspendAwait().first { it is DnsPtrRecord }?.hostname()
|
||||
ptr = dnsQuery.suspendAwait().firstNotNullOfOrNull { it as? DnsPtrRecord }?.hostname()
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user