1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-23 05:45:41 -05:00

Apparently this uses tabs

This commit is contained in:
2xsaiko 2021-03-05 20:12:34 +01:00
parent 83e33b85bc
commit 80d6b9f8e6
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"log" "log"
"net" "net"
"os" "os"
"strconv" "strconv"
"sync" "sync"
"time" "time"
@ -121,7 +121,7 @@ func (b *BridgeState) startBridge() {
} }
if b.BridgeConfig.MumbleCertificate != "" { if b.BridgeConfig.MumbleCertificate != "" {
keyFile := "" keyFile := ""
if keyFile == "" { if keyFile == "" {
keyFile = b.BridgeConfig.MumbleCertificate keyFile = b.BridgeConfig.MumbleCertificate
} }

View File

@ -102,7 +102,7 @@ func main() {
// MumbleConfig: config, // MumbleConfig: config,
MumbleAddr: *mumbleAddr + ":" + strconv.Itoa(*mumblePort), MumbleAddr: *mumbleAddr + ":" + strconv.Itoa(*mumblePort),
MumbleInsecure: *mumbleInsecure, MumbleInsecure: *mumbleInsecure,
MumbleCertificate: *mumbleCertificate, MumbleCertificate: *mumbleCertificate,
MumbleChannel: strings.Split(*mumbleChannel, "/"), MumbleChannel: strings.Split(*mumbleChannel, "/"),
MumbleDisableText: *mumbleDisableText, MumbleDisableText: *mumbleDisableText,
Command: *discordCommand, Command: *discordCommand,