From 5cd76f89d458db48f50b047310b04537d12c27b1 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 8 Apr 2021 05:16:23 -0400 Subject: [PATCH] fix #1545 Warn users that NS UNREGISTER doesn't give them a "do-over"; the account name will remain reserved. --- irc/nickserv.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irc/nickserv.go b/irc/nickserv.go index 3d5c10de..86ecb65d 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -968,6 +968,8 @@ func nsUnregisterHandler(service *ircService, server *Server, client *Client, co service.Notice(rb, ircfmt.Unescape(client.t("$bWarning: erasing this account will allow it to be re-registered; consider UNREGISTER instead.$b"))) } else { service.Notice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b"))) + service.Notice(rb, ircfmt.Unescape(client.t("$bNote that an unregistered account name remains reserved and cannot be re-registered.$b"))) + service.Notice(rb, ircfmt.Unescape(client.t("$bIf you are having problems with your account, contact an administrator.$b"))) } service.Notice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS %s %s %s", strings.ToUpper(command), accountName, expectedCode))) return