1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 05:23: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:
Adam
2013-04-10 22:26:40 -05:00
parent 957cb2bf93
commit 207c46c871
160 changed files with 385 additions and 543 deletions
+1 -2
View File
@@ -382,7 +382,7 @@ class ProtoCharybdis : public Module
}
public:
ProtoCharybdis(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL),
ProtoCharybdis(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL | VENDOR),
ircd_proto(this),
message_away(this), message_capab(this), message_error(this), message_kick(this), message_kill(this),
message_mode(this), message_motd(this), message_part(this), message_ping(this), message_privmsg(this),
@@ -401,7 +401,6 @@ class ProtoCharybdis : public Module
message_encap(this), message_euid(this), message_pass(this), message_server(this)
{
this->SetAuthor("Anope");
Implementation i[] = { I_OnChannelCreate, I_OnMLock, I_OnUnMLock };
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));