diff options
| author | 2012-07-12 20:58:14 +0200 | |
|---|---|---|
| committer | 2012-07-12 20:58:14 +0200 | |
| commit | f64ced2653006c472bfd2ea5b117dddfac61adcb (patch) | |
| tree | c15b0f367865337ee5ebfb77e1fb9bc1cfb55a70 /src | |
| parent | m_halfop, m_chanhistory Remove redundant ModeParser::DelMode() calls, the mod... (diff) | |
m_chanhistory Read the boolean config entry with getBool()
Diffstat (limited to 'src')
| -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 64e573286..16eba953f 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -129,7 +129,7 @@ class ModuleChanHistory : public Module { ConfigTag* tag = ServerInstance->Config->ConfValue("chanhistory"); m.maxlines = tag->getInt("maxlines", 50); - sendnotice = tag->getInt("notice", true); + sendnotice = tag->getBool("notice", true); } void OnUserMessage(User* user,void* dest,int target_type, const std::string &text, char status, const CUList&) |
