From e11f247c9c08e2ec0c0444c3d4b12990edbcdbbc Mon Sep 17 00:00:00 2001 From: om Date: Thu, 14 Feb 2008 11:44:36 +0000 Subject: 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 --- src/modules/m_banredirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 56be984b6..458640ca4 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -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); } -- cgit v1.2.3