mirror of
https://github.com/anope/anope.git
synced 2026-07-02 02:26:38 +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:
@@ -228,7 +228,7 @@ class ProtoRatbox : public Module
|
||||
}
|
||||
|
||||
public:
|
||||
ProtoRatbox(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, PROTOCOL),
|
||||
ProtoRatbox(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),
|
||||
@@ -242,7 +242,6 @@ class ProtoRatbox : public Module
|
||||
|
||||
message_encap(this), message_pass(this), message_server(this), message_tburst(this), message_uid(this)
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
|
||||
if (ModuleManager::LoadModule("hybrid", User::Find(creator)) != MOD_ERR_OK)
|
||||
throw ModuleException("Unable to load hybrid");
|
||||
|
||||
Reference in New Issue
Block a user