summaryrefslogtreecommitdiff
path: root/modules/core/os_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_update.cpp')
-rw-r--r--modules/core/os_update.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/os_update.cpp b/modules/core/os_update.cpp
index 8a1e10c68..9f85d8b64 100644
--- a/modules/core/os_update.cpp
+++ b/modules/core/os_update.cpp
@@ -44,10 +44,9 @@ class OSUpdate : public Module
CommandOSUpdate commandosupdate;
public:
- OSUpdate(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ OSUpdate(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!");