1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 00:06:38 +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:
Adam
2011-04-28 22:44:34 -04:00
parent 8fb1604f64
commit 583954d3a1
203 changed files with 486 additions and 886 deletions
+1 -2
View File
@@ -159,10 +159,9 @@ class CSEntryMessage : public Module
CommandEntryMessage commandentrymsg;
public:
CSEntryMessage(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), commandentrymsg("ENTRYMSG")
CSEntryMessage(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, SUPPORTED), commandentrymsg("ENTRYMSG")
{
this->SetAuthor("Anope");
this->SetType(CORE);
if (!chanserv)
throw ModuleException("ChanServ is not loaded!");