diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-14 11:44:36 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-14 11:44:36 +0000 |
commit | e11f247c9c08e2ec0c0444c3d4b12990edbcdbbc (patch) | |
tree | caa43f05ad412b5e06e7ee6293c5270bb5073f87 /src | |
parent | 6a4deb73a97dd3f6364f7150558568155af8c011 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_banredirect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |