diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 22:42:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 22:42:05 +0000 |
commit | 7c7b945c9a2c577005c5643cda55e2e685064809 (patch) | |
tree | c15bfb873c4701c6346cc25d365dd892db42f422 | |
parent | b4dd810b3db3d687d24415c694853ded0cfa5c9d (diff) |
Added a default max entries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2076 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_chanfilter.cpp | 2 |
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) |