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
commit ba65297677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { } else {
nsNotice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b"))) 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 return
} }