Merge pull request #16 from prologic/consistency_config_options
Makes configuration options consistent
This commit is contained in:
commit
b09da1fc3b
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue