From fb41896794d9762a3c879db141ea0cf380e8bbf3 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 16:51:47 +0000 Subject: Convert to templated GetExt git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4278 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanfilter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3