]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanhistory.cpp
use documented "value" attribute instead of undocumented "newhost"
[user/henk/code/inspircd.git] / src / modules / m_chanhistory.cpp
index 64e573286b308bb0ffb4c83b31e5cd1c32fab02a..16eba953f544fb05323c2fd3f269c760497e9305 100644 (file)
@@ -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&)