mirror of
https://github.com/anope/anope.git
synced 2026-07-03 16:13:12 +02:00
Fixed these ModuleManager::Attach calls once and for all..
This commit is contained in:
@@ -25,7 +25,7 @@ class ChanServCore : public Module
|
||||
throw ModuleException("No bot named " + Config->ChanServ);
|
||||
|
||||
Implementation i[] = { I_OnBotPrivmsg, I_OnDelCore, I_OnPreHelp, I_OnPostHelp };
|
||||
ModuleManager::Attach(i, this, 4);
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
}
|
||||
|
||||
EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message)
|
||||
|
||||
Reference in New Issue
Block a user