Skip to content

Commit

Permalink
Fix translating mail:memo_message.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Aug 24, 2024
1 parent 63ad540 commit 6da4a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pseudoclients/memoserv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6da4a14

Please sign in to comment.