From 6da4a148fa67b86c8c067a50bfa16390b0b24687 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 24 Aug 2024 12:27:05 +0100 Subject: Fix translating mail:memo_message. --- modules/pseudoclients/memoserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pseudoclients/memoserv.cpp b/modules/pseudoclients/memoserv.cpp index 3fc6d203f..8019086c6 100644 --- a/modules/pseudoclients/memoserv.cpp +++ b/modules/pseudoclients/memoserv.cpp @@ -18,7 +18,7 @@ class MemoServCore : public Module, public MemoServService bool SendMemoMail(NickCore *nc, MemoInfo *mi, Memo *m) { Anope::string subject = Language::Translate(nc, Config->GetBlock("mail")->Get("memo_subject").c_str()), - message = Language::Translate(Config->GetBlock("mail")->Get("memo_message").c_str()); + message = Language::Translate(nc, Config->GetBlock("mail")->Get("memo_message").c_str()); subject = subject.replace_all_cs("%n", nc->display); subject = subject.replace_all_cs("%s", m->sender); -- cgit From 4b48fc98d3102cbf79d599bbb4d443cd41d7c89c Mon Sep 17 00:00:00 2001 From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Sun, 1 Sep 2024 10:41:32 +0200 Subject: Fix the documentation of mail:usemail. `nickserv:registration` only has as options: none, admin, mail. I assume that `mail` is the word that should replace `yes` --- data/example.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/example.conf b/data/example.conf index 8237102e0..9d423f073 100644 --- a/data/example.conf +++ b/data/example.conf @@ -953,7 +953,7 @@ mail * If set, this option enables the mail commands in Services. You may choose * to disable it if you have no Sendmail-compatible mailer installed. Whilst * this directive (and entire block) is optional, it is required if - * nickserv:registration is set to yes. + * nickserv:registration is set to mail. */ usemail = yes -- cgit