summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 16:51:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 16:51:47 +0000
commitfb41896794d9762a3c879db141ea0cf380e8bbf3 (patch)
treecfef9fe56f3705f5cadbf5cffe2631b59e0de345 /src
parent9941a616cbba8ad5dec07bdf908a1d08d81e568e (diff)
Convert to templated GetExt
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4278 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chanfilter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 0ea3ca064..eae5ba843 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -101,7 +101,8 @@ class ModuleChanFilter : public Module
// Create a copy of the string in irc::string
irc::string line = text.c_str();
- modelist* list = (modelist*)chan->GetExt(cf->GetInfoKey());
+ modelist* list;
+ chan->GetExt(cf->GetInfoKey(), list);
if (list)
{