Merge pull request #601 from slingamn/spurious_message

fix spurious error message
This commit is contained in:
Daniel Oaks 2019-07-14 12:57:09 +10:00 committed by GitHub
commit 07bb38ecdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func (am *AccountManager) buildNickToAccountIndex() {
err := json.Unmarshal([]byte(rawPrefs), &prefs)
if err == nil && prefs.NickEnforcement != NickEnforcementOptional {
accountToMethod[account] = prefs.NickEnforcement
} else {
} else if err != nil {
am.server.logger.Error("internal", "corrupt account creds", account)
}
}