diff --git a/irc/nickserv.go b/irc/nickserv.go index 4ea051c0..1f52a5df 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -841,6 +841,8 @@ func nsUnregisterHandler(server *Server, client *Client, command string, params if erase { // account may not be in a loadable state, e.g., if it was unregistered accountName = username + // make the confirmation code nondeterministic for ERASE + registeredAt = server.ctime } else { account, err := server.accounts.LoadAccount(username) if err == errAccountDoesNotExist {