summaryrefslogtreecommitdiff
path: root/modules/core/ns_resetpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_resetpass.cpp')
-rw-r--r--modules/core/ns_resetpass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_resetpass.cpp b/modules/core/ns_resetpass.cpp
index 3cbbe5903..983800d0a 100644
--- a/modules/core/ns_resetpass.cpp
+++ b/modules/core/ns_resetpass.cpp
@@ -67,10 +67,9 @@ class NSResetPass : public Module
CommandNSResetPass commandnsresetpass;
public:
- NSResetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ NSResetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
{
this->SetAuthor("Anope");
- this->SetType(CORE);
if (!nickserv)
throw ModuleException("NickServ is not loaded!");