Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit d0becb9

Browse files
Fix #162: Key is no longer mistakenly overwritten by cert
1 parent cb1bc84 commit d0becb9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
MumbleDJ Changelog
22
==================
33

4+
### June 29, 2016 -- `v3.0.10`
5+
* Fixed issue related to PEM keys being overwritten by PEM certs.
6+
47
### June 28, 2016 -- `v3.0.9`
58
* Queue is now reset after disconnecting from the server to avoid unpredictable behavior.
69

bot/mumbledj.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (dj *MumbleDJ) Connect() error {
195195
dj.TLSConfig.InsecureSkipVerify = true
196196
}
197197
if viper.GetString("connection.cert") != "" {
198-
if viper.GetString("connection.key") != "" {
198+
if viper.GetString("connection.key") == "" {
199199
viper.Set("connection.key", viper.GetString("connection.cert"))
200200
}
201201

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func init() {
3232
services.DJ = DJ
3333
bot.DJ = DJ
3434

35-
DJ.Version = "v3.0.9"
35+
DJ.Version = "v3.0.10"
3636

3737
logrus.SetLevel(logrus.WarnLevel)
3838
}

0 commit comments

Comments
 (0)