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