/ns erase should confirm with /ns erase rather than unregister.

This commit is contained in:
Alex Jaspersen 2020-05-22 14:44:35 +00:00
parent 4595ed68a9
commit e0f91f5649
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ func nsUnregisterHandler(server *Server, client *Client, command string, params
} else {
nsNotice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b")))
}
nsNotice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS UNREGISTER %s %s", accountName, expectedCode)))
nsNotice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS %s %s %s", strings.ToUpper(command), accountName, expectedCode)))
return
}