mirror of
https://github.com/anope/anope.git
synced 2026-07-09 10:03: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:
@@ -303,10 +303,9 @@ class MSSet : public Module
|
||||
CommandMSSet commandmsset;
|
||||
|
||||
public:
|
||||
MSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
|
||||
MSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetType(CORE);
|
||||
|
||||
if (!memoserv)
|
||||
throw ModuleException("MemoServ is not loaded!");
|
||||
|
||||
Reference in New Issue
Block a user