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:
parent
83e33b85bc
commit
80d6b9f8e6
@ -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
|
||||||
}
|
}
|
||||||
|
2
main.go
2
main.go
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user