From 583954d3a1db658281a9afb7b7dd6773726c8c11 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 28 Apr 2011 22:44:34 -0400 Subject: Use module type to determine what type each module is instead of its location in the configuration file. --- modules/core/os_news.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/core/os_news.cpp') diff --git a/modules/core/os_news.cpp b/modules/core/os_news.cpp index 1cf3e0edf..ff7b5014f 100644 --- a/modules/core/os_news.cpp +++ b/modules/core/os_news.cpp @@ -403,10 +403,9 @@ class OSNews : public Module CommandOSRandomNews commandosrandomnews; public: - OSNews(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) + OSNews(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!"); -- cgit