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/cs_help.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/core/cs_help.cpp') diff --git a/modules/core/cs_help.cpp b/modules/core/cs_help.cpp index aff4c5165..b2ff5e496 100644 --- a/modules/core/cs_help.cpp +++ b/modules/core/cs_help.cpp @@ -62,10 +62,9 @@ class CSHelp : public Module CommandCSHelp commandcshelp; public: - CSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) + CSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE) { this->SetAuthor("Anope"); - this->SetType(CORE); if (!chanserv) throw ModuleException("ChanServ is not loaded!"); -- cgit