diff options
Diffstat (limited to 'modules/core/os_restart.cpp')
-rw-r--r-- | modules/core/os_restart.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/os_restart.cpp b/modules/core/os_restart.cpp index 73c36d21e..bda2d861c 100644 --- a/modules/core/os_restart.cpp +++ b/modules/core/os_restart.cpp @@ -45,10 +45,9 @@ class OSRestart : public Module CommandOSRestart commandosrestart; public: - OSRestart(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) + OSRestart(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!"); |