mirror of
https://github.com/anope/anope.git
synced 2026-07-06 18:03:13 +02:00
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
This commit is contained in:
@@ -661,7 +661,7 @@ class ProtoInspIRCd : public Module
|
||||
}
|
||||
|
||||
public:
|
||||
ProtoInspIRCd(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL),
|
||||
ProtoInspIRCd(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR),
|
||||
ircd_proto(this),
|
||||
message_away(this), message_error(this), message_join(this), message_kick(this), message_kill(this),
|
||||
message_motd(this), message_part(this), message_ping(this), message_privmsg(this), message_quit(this),
|
||||
@@ -684,7 +684,6 @@ class ProtoInspIRCd : public Module
|
||||
|
||||
message_capab(this), message_encap(this), message_fident(this)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
|
||||
if (ModuleManager::LoadModule("inspircd12", User::Find(creator)) != MOD_ERR_OK)
|
||||
throw ModuleException("Unable to load inspircd12");
|
||||
|
||||
Reference in New Issue
Block a user