From bfbf49fa9f4d8eca1e4b127ebcde54341eebd463 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sun, 27 Dec 2020 12:11:23 -0300 Subject: [PATCH] fix hostname --- .../com/github/creeper123123321/viaaas/CloudProtocol.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/github/creeper123123321/viaaas/CloudProtocol.kt b/src/main/kotlin/com/github/creeper123123321/viaaas/CloudProtocol.kt index 92fd3c5..a92e52d 100644 --- a/src/main/kotlin/com/github/creeper123123321/viaaas/CloudProtocol.kt +++ b/src/main/kotlin/com/github/creeper123123321/viaaas/CloudProtocol.kt @@ -56,7 +56,7 @@ object CloudHeadProtocol : SimpleProtocol() { backendVer = backProto, frontOnline = parsed.online, altName = parsed.altUsername, - hadHostname = parsed.viaSuffix == null + hadHostname = parsed.viaSuffix != null ) ) @@ -73,4 +73,4 @@ data class CloudData( var frontOnline: Boolean, var altName: String?, var hadHostname: Boolean -) : StoredObject(userConnection) \ No newline at end of file +) : StoredObject(userConnection)