mirror of
https://github.com/anope/anope.git
synced 2026-07-05 05:33:13 +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:
@@ -79,10 +79,9 @@ class CSSetSecureOps : public Module
|
||||
CommandCSSASetSecureOps commandcssasetsecureops;
|
||||
|
||||
public:
|
||||
CSSetSecureOps(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
|
||||
CSSetSecureOps(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!");
|
||||
|
||||
Reference in New Issue
Block a user