diff options
author | Peter Powell <petpow@saberuk.com> | 2017-12-31 18:38:21 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-12-31 18:38:21 +0000 |
commit | 5c6352dd9a642bdb1f5fa2727a41dea9197b4536 (patch) | |
tree | b6029461ee96adf71a62d53df52af9d33ed93795 /src/modules/m_chanhistory.cpp | |
parent | 45689d251a9934134e4762f5b24fa3c28e893980 (diff) |
Increase the config default for <chanhistory:maxlines> to 50.
Diffstat (limited to 'src/modules/m_chanhistory.cpp')
-rw-r--r-- | src/modules/m_chanhistory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp index c51e6337e..d95d8fbfb 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -116,7 +116,7 @@ class ModuleChanHistory : public Module void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("chanhistory"); - m.maxlines = tag->getInt("maxlines", 50); + m.maxlines = tag->getInt("maxlines", 50, 1); sendnotice = tag->getBool("notice", true); dobots = tag->getBool("bots", true); } |