From 16ce3cdfa53537a7c43421e10fd35c17ff878d23 Mon Sep 17 00:00:00 2001 From: James Mills Date: Thu, 17 May 2018 18:37:33 -0700 Subject: [PATCH] Make configuration options consistent --- server/irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc.go b/server/irc.go index f4fe3b9c..1d94fedd 100644 --- a/server/irc.go +++ b/server/irc.go @@ -65,7 +65,7 @@ func connectIRC(server storage.Server, session *Session) *irc.Client { if server.Password == "" && viper.GetString("defaults.password") != "" && - address == viper.GetString("defaults.address") { + address == viper.GetString("defaults.host") { i.Password = viper.GetString("defaults.password") } else { i.Password = server.Password