From 6863d58cab33d40bbf0498bfae7a53a86966f546 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 5 Jan 2022 13:27:17 -0500 Subject: [PATCH] add a warning about NS UNREGISTER unregistering channels See discussion on #1891 --- irc/nickserv.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irc/nickserv.go b/irc/nickserv.go index 05ea59ee..44139359 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -1085,6 +1085,8 @@ func nsUnregisterHandler(service *ircService, server *Server, client *Client, co 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, ircfmt.Unescape(client.t("$bUnregistering your account will unregister all channels you founded.$b"))) + service.Notice(rb, ircfmt.Unescape(client.t("$bTo prevent this, transfer your channels first with CS TRANSFER.$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