From f64ced2653006c472bfd2ea5b117dddfac61adcb Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 12 Jul 2012 20:58:14 +0200 Subject: m_chanhistory Read the boolean config entry with getBool() --- src/modules/m_chanhistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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&) -- cgit v1.2.3