3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 04:32:36 +01:00

/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

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
}