mirror of
https://github.com/anope/anope.git
synced 2026-06-28 04:16:37 +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:
@@ -132,8 +132,6 @@ class DatabaseRedis : public Module, public Pipe
|
||||
{
|
||||
me = this;
|
||||
|
||||
Implementation i[] = { I_OnReload, I_OnLoadDatabase, I_OnSerializeTypeCreate, I_OnSerializableConstruct, I_OnSerializableDestruct, I_OnSerializableUpdate };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
}
|
||||
|
||||
/* Insert or update an object */
|
||||
|
||||
Reference in New Issue
Block a user