summaryrefslogtreecommitdiff
path: root/modules/core/cs_set_restricted.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_set_restricted.cpp')
-rw-r--r--modules/core/cs_set_restricted.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/cs_set_restricted.cpp b/modules/core/cs_set_restricted.cpp
index 93fe0d023..f9ea3b514 100644
--- a/modules/core/cs_set_restricted.cpp
+++ b/modules/core/cs_set_restricted.cpp
@@ -82,10 +82,9 @@ class CSSetRestricted : public Module
CommandCSSASetRestricted commandcssasetrestricted;
public:
- CSSetRestricted(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ CSSetRestricted(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!");