summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-04 23:56:04 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-04 23:56:04 +0000
commit24a685df2da7e8b9f0aeaee1d6c3e89e716939a6 (patch)
tree596cd97471e02372efa2953fe07faf7abae41d10
parent4fe35b6ead5fed5eb3224d031add57ae3246c99d (diff)
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
-rw-r--r--src/modules/m_banredirect.cpp2
1 files changed, 1 insertions, 1 deletions
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));
}