summaryrefslogtreecommitdiff
path: root/modules/core/ns_getpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_getpass.cpp')
-rw-r--r--modules/core/ns_getpass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_getpass.cpp b/modules/core/ns_getpass.cpp
index eba380dfb..e66cf8ff7 100644
--- a/modules/core/ns_getpass.cpp
+++ b/modules/core/ns_getpass.cpp
@@ -70,10 +70,9 @@ class NSGetPass : public Module
CommandNSGetPass commandnsgetpass;
public:
- NSGetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ NSGetPass(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!");