mirror of
https://github.com/anope/anope.git
synced 2026-06-29 11:56:38 +02:00
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
This commit is contained in:
@@ -12,8 +12,6 @@ class HelpChannel : public Module
|
||||
public:
|
||||
HelpChannel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
|
||||
{
|
||||
Implementation i[] = { I_OnChannelModeSet };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
}
|
||||
|
||||
EventReturn OnChannelModeSet(Channel *c, MessageSource &setter, const Anope::string &mname, const Anope::string ¶m) anope_override
|
||||
|
||||
Reference in New Issue
Block a user