1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:23:12 +02:00

Fix translating mail:memo_message.

This commit is contained in:
Sadie Powell
2024-08-24 12:27:05 +01:00
parent 63ad540e55
commit 6da4a148fa
+1 -1
View File
@@ -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<const Anope::string>("memo_subject").c_str()),
message = Language::Translate(Config->GetBlock("mail")->Get<const Anope::string>("memo_message").c_str());
message = Language::Translate(nc, Config->GetBlock("mail")->Get<const Anope::string>("memo_message").c_str());
subject = subject.replace_all_cs("%n", nc->display);
subject = subject.replace_all_cs("%s", m->sender);