diff --git a/irc/database.go b/irc/database.go index bfca9d07..b066a12a 100644 --- a/irc/database.go +++ b/irc/database.go @@ -1080,6 +1080,9 @@ func schemaChangeV21To22(config *Config, tx *buntdb.Tx) error { if !strings.HasPrefix(key, settingsPrefix) { return false } + if value == "" { + return true + } account := strings.TrimPrefix(key, settingsPrefix) if _, err := tx.Get("account.verified " + account); err != nil { return true