diff options
| author | 2006-07-10 16:51:47 +0000 | |
|---|---|---|
| committer | 2006-07-10 16:51:47 +0000 | |
| commit | fb41896794d9762a3c879db141ea0cf380e8bbf3 (patch) | |
| tree | cfef9fe56f3705f5cadbf5cffe2631b59e0de345 /src/modules | |
| parent | If you ask me, it looks a hell of a lot tidier without forcing the cast. (diff) | |
| download | inspircd++-fb41896794d9762a3c879db141ea0cf380e8bbf3.tar.gz inspircd++-fb41896794d9762a3c879db141ea0cf380e8bbf3.tar.bz2 inspircd++-fb41896794d9762a3c879db141ea0cf380e8bbf3.zip | |
Convert to templated GetExt
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4278 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_chanfilter.cpp | 3 |
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) { |
