diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-12 20:58:14 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-12 20:58:14 +0200 |
commit | f64ced2653006c472bfd2ea5b117dddfac61adcb (patch) | |
tree | c15b0f367865337ee5ebfb77e1fb9bc1cfb55a70 | |
parent | 53ab523021bbb7bf318bb5e53d15c783685e587b (diff) |
m_chanhistory Read the boolean config entry with getBool()
-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&) |