summaryrefslogtreecommitdiff
path: root/modules/memoserv/memoserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/memoserv/memoserv.cpp')
-rw-r--r--modules/memoserv/memoserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/memoserv/memoserv.cpp b/modules/memoserv/memoserv.cpp
index 084650542..3b2a521c7 100644
--- a/modules/memoserv/memoserv.cpp
+++ b/modules/memoserv/memoserv.cpp
@@ -20,7 +20,7 @@ class MemoServCore final
static 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);