From 24a685df2da7e8b9f0aeaee1d6c3e89e716939a6 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 4 Jan 2008 23:56:04 +0000 Subject: Fix m_banredirect: (hint: sizeof(f) != sizeof(*f) ;p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8633 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banredirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 80a79e25b..8493ec0ff 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, sizeof(*list)); } -- cgit v1.2.3