diff options
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) { |
