1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 21:43:13 +02:00

Fixed these ModuleManager::Attach calls once and for all..

This commit is contained in:
Adam
2011-07-31 06:24:24 -04:00
parent b751800ff4
commit 63a4201d15
40 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class MySQLLiveModule : public Module
Module(modname, creator, DATABASE), SQL("mysql/main"), ACS("asynch_commands")
{
Implementation i[] = { I_OnFindChan, I_OnFindNick, I_OnFindCore, I_OnShutdown };
ModuleManager::Attach(i, this, 4);
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
void OnShutdown()