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