mirror of
https://github.com/anope/anope.git
synced 2026-07-10 13:23:14 +02:00
Use module type to determine what type each module is instead of its location in the configuration file.
This commit is contained in:
@@ -58,10 +58,9 @@ class BSHelp : public Module
|
||||
CommandBSHelp commandbshelp;
|
||||
|
||||
public:
|
||||
BSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
|
||||
BSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetType(CORE);
|
||||
|
||||
if (!botserv)
|
||||
throw ModuleException("BotServ is not loaded!");
|
||||
|
||||
Reference in New Issue
Block a user