diff options
Diffstat (limited to 'modules/core/os_mode.cpp')
-rw-r--r-- | modules/core/os_mode.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/os_mode.cpp b/modules/core/os_mode.cpp index 5efed5383..961dd05b7 100644 --- a/modules/core/os_mode.cpp +++ b/modules/core/os_mode.cpp @@ -82,10 +82,9 @@ class OSMode : public Module CommandOSMode commandosmode; public: - OSMode(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) + OSMode(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!"); |