mirror of
https://github.com/anope/anope.git
synced 2026-06-29 01:06:37 +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:
@@ -67,10 +67,9 @@ class NSResetPass : public Module
|
||||
CommandNSResetPass commandnsresetpass;
|
||||
|
||||
public:
|
||||
NSResetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
|
||||
NSResetPass(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
this->SetType(CORE);
|
||||
|
||||
if (!nickserv)
|
||||
throw ModuleException("NickServ is not loaded!");
|
||||
|
||||
Reference in New Issue
Block a user