From 2cfc3958a2a8dd33468eeef0f29e2a8c280a5836 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sun, 30 Oct 2022 01:31:32 +0100 Subject: [PATCH] fix bug with getype --- lib/Voicemeeter.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Voicemeeter.psm1 b/lib/Voicemeeter.psm1 index fe187d2..4c35d35 100644 --- a/lib/Voicemeeter.psm1 +++ b/lib/Voicemeeter.psm1 @@ -32,15 +32,15 @@ class Remote { } [string] ToString() { - return "Voicemeeter " + $this.kind.name.substring(0,1).toupper() + $this.kind.name.substring(1) + return "Voicemeeter " + $this.kind.name.substring(0, 1).toupper() + $this.kind.name.substring(1) } [void] Logout() { Logout } - [void] GetType() { - VmType + [string] GetType() { + return VmType } [String] GetVersion() {