diff options
-rw-r--r-- | data/anope.example.conf | 2 | ||||
-rw-r--r-- | modules/memoserv/memoserv.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf index 4abaff3e3..7c2614f53 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -916,7 +916,7 @@ mail * If set, this option enables the mail commands in Anope. 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 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); |