Procházet zdrojové kódy

add a warning about NS UNREGISTER unregistering channels

See discussion on #1891
tags/v2.9.0
Shivaram Lingamneni před 2 roky
rodič
revize
6863d58cab
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

@@ -1085,6 +1085,8 @@ func nsUnregisterHandler(service *ircService, server *Server, client *Client, co
1085 1085
 			service.Notice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b")))
1086 1086
 			service.Notice(rb, ircfmt.Unescape(client.t("$bNote that an unregistered account name remains reserved and cannot be re-registered.$b")))
1087 1087
 			service.Notice(rb, ircfmt.Unescape(client.t("$bIf you are having problems with your account, contact an administrator.$b")))
1088
+			service.Notice(rb, ircfmt.Unescape(client.t("$bUnregistering your account will unregister all channels you founded.$b")))
1089
+			service.Notice(rb, ircfmt.Unescape(client.t("$bTo prevent this, transfer your channels first with CS TRANSFER.$b")))
1088 1090
 		}
1089 1091
 		service.Notice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS %s %s %s", strings.ToUpper(command), accountName, expectedCode)))
1090 1092
 		return

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