From 80d6b9f8e66a65c3df8bb692972bfaa359762c27 Mon Sep 17 00:00:00 2001 From: 2xsaiko Date: Fri, 5 Mar 2021 20:12:34 +0100 Subject: [PATCH] Apparently this uses tabs --- bridge.go | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge.go b/bridge.go index d20b8fa..3ce6fc2 100644 --- a/bridge.go +++ b/bridge.go @@ -6,7 +6,7 @@ import ( "fmt" "log" "net" - "os" + "os" "strconv" "sync" "time" @@ -121,7 +121,7 @@ func (b *BridgeState) startBridge() { } if b.BridgeConfig.MumbleCertificate != "" { - keyFile := "" + keyFile := "" if keyFile == "" { keyFile = b.BridgeConfig.MumbleCertificate } diff --git a/main.go b/main.go index c8a7b46..e06bef2 100644 --- a/main.go +++ b/main.go @@ -102,7 +102,7 @@ func main() { // MumbleConfig: config, MumbleAddr: *mumbleAddr + ":" + strconv.Itoa(*mumblePort), MumbleInsecure: *mumbleInsecure, - MumbleCertificate: *mumbleCertificate, + MumbleCertificate: *mumbleCertificate, MumbleChannel: strings.Split(*mumbleChannel, "/"), MumbleDisableText: *mumbleDisableText, Command: *discordCommand,