summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-05 21:18:47 -0400
committerAdam <Adam@anope.org>2013-05-05 21:18:47 -0400
commit3f5f84c92c1a424843b430c60a50efa600ae1236 (patch)
treeae16ada522b5cbed074f8d154d01e8657d195318 /modules/commands/ns_set.cpp
parent5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e (diff)
The const char* specialization of this no longer works
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r--modules/commands/ns_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp
index f0bff477e..93024b437 100644
--- a/modules/commands/ns_set.cpp
+++ b/modules/commands/ns_set.cpp
@@ -464,8 +464,8 @@ class CommandNSSetEmail : public Command
u->Account()->Extend("ns_set_email_passcode", new ExtensibleItemClass<Anope::string>(code));
- Anope::string subject = Config->GetBlock("mail")->Get<const char *>("emailchange_subject"),
- message = Config->GetBlock("mail")->Get<const char *>("emailchange_message");
+ Anope::string subject = Config->GetBlock("mail")->Get<const Anope::string>("emailchange_subject"),
+ message = Config->GetBlock("mail")->Get<const Anope::string>("emailchange_message");
subject = subject.replace_all_cs("%e", u->Account()->email);
subject = subject.replace_all_cs("%N", Config->GetBlock("networkinfo")->Get<const Anope::string>("networkname"));