diff options
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) { |