mirror of
https://github.com/anope/anope.git
synced 2026-07-03 15:13:14 +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:
@@ -14,8 +14,6 @@ class BSAutoAssign : public Module
|
||||
public:
|
||||
BSAutoAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR)
|
||||
{
|
||||
Implementation i[] = { I_OnChanRegistered };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
}
|
||||
|
||||
void OnChanRegistered(ChannelInfo *ci) anope_override
|
||||
|
||||
Reference in New Issue
Block a user