diff options
| author | Adam <Adam@anope.org> | 2011-10-18 12:06:51 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-10-18 12:06:51 -0400 |
| commit | eb5b5f97d12921bcae665b67380c86e68b776dc6 (patch) | |
| tree | 189c8e77151a6accb5c2ad1ab3cfa695d1b50d7e /modules/commands/ns_register.cpp | |
| parent | faea45245db7d2a84857ba8e5239b9b7e273233e (diff) | |
Fixed compile errors on release build
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 303321551..44d3c5e22 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -46,7 +46,7 @@ class CommandNSConfirm : public Command } else if (u->Account()) { - Anope::string *code = u->Account()->GetExt<Anope::string *>("ns_register_passcode"); + Anope::string *code = u->Account()->GetExt<ExtensibleString *>("ns_register_passcode"); if (code != NULL && *code == passcode) { u->Account()->Shrink("ns_register_passcode"); @@ -324,7 +324,7 @@ class NSRegister : public Module static bool SendRegmail(User *u, NickAlias *na, BotInfo *bi) { - Anope::string *code = na->nc->GetExt<Anope::string *>("ns_register_passcode"); + Anope::string *code = na->nc->GetExt<ExtensibleString *>("ns_register_passcode"); Anope::string codebuf; if (code == NULL) { |
