diff --git a/CHANGELOG.md b/CHANGELOG.md index e3cb6e4..7329e20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ MumbleDJ Changelog ================== +### June 29, 2016 -- `v3.0.10` +* Fixed issue related to PEM keys being overwritten by PEM certs. + ### June 28, 2016 -- `v3.0.9` * Queue is now reset after disconnecting from the server to avoid unpredictable behavior. diff --git a/bot/mumbledj.go b/bot/mumbledj.go index a0e294a..b28f799 100644 --- a/bot/mumbledj.go +++ b/bot/mumbledj.go @@ -195,7 +195,7 @@ func (dj *MumbleDJ) Connect() error { dj.TLSConfig.InsecureSkipVerify = true } if viper.GetString("connection.cert") != "" { - if viper.GetString("connection.key") != "" { + if viper.GetString("connection.key") == "" { viper.Set("connection.key", viper.GetString("connection.cert")) } diff --git a/main.go b/main.go index 0c5ef85..84d06b8 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ func init() { services.DJ = DJ bot.DJ = DJ - DJ.Version = "v3.0.9" + DJ.Version = "v3.0.10" logrus.SetLevel(logrus.WarnLevel) }