diff options
| author | Adam <Adam@anope.org> | 2013-05-05 21:18:47 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-05-05 21:18:47 -0400 |
| commit | 3f5f84c92c1a424843b430c60a50efa600ae1236 (patch) | |
| tree | ae16ada522b5cbed074f8d154d01e8657d195318 /modules/commands/ns_register.cpp | |
| parent | 5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e (diff) | |
The const char* specialization of this no longer works
Diffstat (limited to 'modules/commands/ns_register.cpp')
| -rw-r--r-- | modules/commands/ns_register.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 6da7d4db1..da2f6de59 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -373,8 +373,8 @@ static bool SendRegmail(User *u, const NickAlias *na, const BotInfo *bi) else codebuf = *code; - Anope::string subject = Language::Translate(na->nc, Config->GetBlock("mail")->Get<const char *>("registration_subject")), - message = Language::Translate(na->nc, Config->GetBlock("mail")->Get<const char *>("registration_message")); + Anope::string subject = Language::Translate(na->nc, Config->GetBlock("mail")->Get<const Anope::string>("registration_subject").c_str()), + message = Language::Translate(na->nc, Config->GetBlock("mail")->Get<const Anope::string>("registration_message").c_str()); subject = subject.replace_all_cs("%n", na->nick); subject = subject.replace_all_cs("%N", Config->GetBlock("networkinfo")->Get<const Anope::string>("networkname")); |
