summaryrefslogtreecommitdiff
path: root/modules/core/cs_getkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_getkey.cpp')
-rw-r--r--modules/core/cs_getkey.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/cs_getkey.cpp b/modules/core/cs_getkey.cpp
index b46a7df53..63a13cce4 100644
--- a/modules/core/cs_getkey.cpp
+++ b/modules/core/cs_getkey.cpp
@@ -68,10 +68,9 @@ class CSGetKey : public Module
CommandCSGetKey commandcsgetkey;
public:
- CSGetKey(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ CSGetKey(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
{
this->SetAuthor("Anope");
- this->SetType(CORE);
if (!chanserv)
throw ModuleException("ChanServ is not loaded!");