From e0f91f5649f4a6fcb9e722b3334610b2cb5e7165 Mon Sep 17 00:00:00 2001 From: Alex Jaspersen Date: Fri, 22 May 2020 14:44:35 +0000 Subject: [PATCH] /ns erase should confirm with /ns erase rather than unregister. --- irc/nickserv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/nickserv.go b/irc/nickserv.go index bbe61cb4..36d994c6 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -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 }