Merge pull request #1043 from ajaspers/info

/ns erase should confirm with /ns erase rather than unregister.
This commit is contained in:
Shivaram Lingamneni
2020-05-22 07:56:21 -07:00
committed by GitHub

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
}