mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-02 18:39:59 -07:00
fix spurious error message
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user