summaryrefslogtreecommitdiff
path: root/modules/core/os_shutdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_shutdown.cpp')
-rw-r--r--modules/core/os_shutdown.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/os_shutdown.cpp b/modules/core/os_shutdown.cpp
index 24642f244..c67d7acb2 100644
--- a/modules/core/os_shutdown.cpp
+++ b/modules/core/os_shutdown.cpp
@@ -44,10 +44,9 @@ class OSShutdown : public Module
CommandOSShutdown commandosshutdown;
public:
- OSShutdown(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ OSShutdown(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
{
this->SetAuthor("Anope");
- this->SetType(CORE);
if (!operserv)
throw ModuleException("OperServ is not loaded!");