From 7c7b945c9a2c577005c5643cda55e2e685064809 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 22:42:05 +0000 Subject: Added a default max entries git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2076 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanfilter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules') 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) -- cgit v1.2.3