mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Change the Implementation list size from a sizeof which worked by fluke to just having a int constant in source
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8930 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
6a4deb73a9
commit
e11f247c9c
@ -202,7 +202,7 @@ class ModuleBanRedirect : public Module
|
||||
OnRehash(NULL, "");
|
||||
|
||||
Implementation list[] = { I_OnRehash, I_OnUserPreJoin, I_OnChannelDelete, I_OnCleanup };
|
||||
Me->Modules->Attach(list, this, sizeof(*list));
|
||||
Me->Modules->Attach(list, this, 4);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user