mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Merge pull request #601 from slingamn/spurious_message
fix spurious error message
This commit is contained in:
commit
07bb38ecdf
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func (am *AccountManager) buildNickToAccountIndex() {
|
||||||
err := json.Unmarshal([]byte(rawPrefs), &prefs)
|
err := json.Unmarshal([]byte(rawPrefs), &prefs)
|
||||||
if err == nil && prefs.NickEnforcement != NickEnforcementOptional {
|
if err == nil && prefs.NickEnforcement != NickEnforcementOptional {
|
||||||
accountToMethod[account] = prefs.NickEnforcement
|
accountToMethod[account] = prefs.NickEnforcement
|
||||||
} else {
|
} else if err != nil {
|
||||||
am.server.logger.Error("internal", "corrupt account creds", account)
|
am.server.logger.Error("internal", "corrupt account creds", account)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue