mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-09-29 04:47:37 +02:00
use .getorg, not .getasn
This commit is contained in:
parent
5d82128688
commit
871390fe61
@ -67,7 +67,7 @@ class WebDashboardServer {
|
|||||||
ipInfo.lookupIP(address.address.hostAddress.substringBefore("%"))
|
ipInfo.lookupIP(address.address.hostAddress.substringBefore("%"))
|
||||||
} else null
|
} else null
|
||||||
} catch (ignored: Exception) { null }
|
} catch (ignored: Exception) { null }
|
||||||
val msg = "Client: $address (${info?.asn?.name}, ${info?.city}, ${info?.region}, ${info?.countryCode})\nBackend: $backAddress"
|
val msg = "Client: $address (${info?.org}, ${info?.city}, ${info?.region}, ${info?.countryCode})\nBackend: $backAddress"
|
||||||
listeners[id]?.forEach {
|
listeners[id]?.forEach {
|
||||||
it.ws.send(
|
it.ws.send(
|
||||||
JsonObject().also {
|
JsonObject().also {
|
||||||
|
Loading…
Reference in New Issue
Block a user