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:
om 2008-02-14 11:44:36 +00:00
parent 6a4deb73a9
commit e11f247c9c

View File

@ -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);
}