summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chanfilter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 5b36478b2..de121664a 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -42,6 +42,8 @@ class ModuleChanFilter : public Module
Conf = new ConfigReader;
Srv->AddExtendedListMode('g');
MaxEntries = Conf->ReadInteger("chanfilter","maxsize",0,true);
+ If (MaxEntries == 0)
+ MaxEntries = 32;
}
virtual void On005Numeric(std::string &output)