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)