Procházet zdrojové kódy

fix #1545

Warn users that NS UNREGISTER doesn't give them a "do-over";
the account name will remain reserved.
tags/v2.6.0-rc1
Shivaram Lingamneni před 3 roky
rodič
revize
5cd76f89d4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      irc/nickserv.go

+ 2
- 0
irc/nickserv.go Zobrazit soubor

@@ -968,6 +968,8 @@ func nsUnregisterHandler(service *ircService, server *Server, client *Client, co
968 968
 			service.Notice(rb, ircfmt.Unescape(client.t("$bWarning: erasing this account will allow it to be re-registered; consider UNREGISTER instead.$b")))
969 969
 		} else {
970 970
 			service.Notice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b")))
971
+			service.Notice(rb, ircfmt.Unescape(client.t("$bNote that an unregistered account name remains reserved and cannot be re-registered.$b")))
972
+			service.Notice(rb, ircfmt.Unescape(client.t("$bIf you are having problems with your account, contact an administrator.$b")))
971 973
 		}
972 974
 		service.Notice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS %s %s %s", strings.ToUpper(command), accountName, expectedCode)))
973 975
 		return

Načítá se…
Zrušit
Uložit