mirror of
https://github.com/anope/anope.git
synced 2026-07-04 18:13:13 +02:00
Fixed these ModuleManager::Attach calls once and for all..
This commit is contained in:
@@ -174,7 +174,7 @@ class OSOper : public Module
|
||||
this->SetAuthor("Anope");
|
||||
|
||||
Implementation i[] = { I_OnDatabaseWrite, I_OnDatabaseRead };
|
||||
ModuleManager::Attach(i, this, 2);
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
|
||||
ModuleManager::RegisterService(&commandosoper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user