diff options
-rw-r--r-- | language/anope.en_US.po | 8 | ||||
-rw-r--r-- | modules/nickserv/ns_cert.cpp | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/language/anope.en_US.po b/language/anope.en_US.po index 4832f572e..1ec3c030d 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-09-26 13:24+0100\n" -"PO-Revision-Date: 2024-09-26 13:25+0100\n" +"POT-Creation-Date: 2024-10-11 18:54+0100\n" +"PO-Revision-Date: 2024-10-11 18:54+0100\n" "Last-Translator: Sadie Powell <sadie@witchery.services>\n" "Language-Team: English\n" "Language: en_US\n" @@ -8604,6 +8604,10 @@ msgid "Your IRCd does not support vidents. If this is incorrect please report th msgstr "Your IRCd does not support vidents. If this is incorrect please report this as a possible bug." #, c-format +msgid "Your SSL certificate fingerprint %s has been automatically added to your certificate list." +msgstr "Your SSL certificate fingerprint %s has been automatically added to your certificate list." + +#, c-format msgid "Your account %s has been successfully created." msgstr "Your account %s has been successfully created." diff --git a/modules/nickserv/ns_cert.cpp b/modules/nickserv/ns_cert.cpp index 5594b2e57..18b2fc394 100644 --- a/modules/nickserv/ns_cert.cpp +++ b/modules/nickserv/ns_cert.cpp @@ -425,6 +425,9 @@ public: auto *cl = certs.Require(na->nc); cl->AddCert(u->fingerprint); + + auto *NickServ = Config->GetClient("NickServ"); + u->SendMessage(NickServ, _("Your SSL certificate fingerprint \002%s\002 has been automatically added to your certificate list."), u->fingerprint.c_str()); } EventReturn OnNickValidate(User *u, NickAlias *na) override |