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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user