summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-25 16:48:38 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-25 16:48:38 +0100
commit4e0fd52057d1738f55d890b28e39e5ba685a3d26 (patch)
tree1287461a98ffbbc455d674151329c956a47faecb /src
parent5a64433015f5a25af133a136468093a140595bc5 (diff)
m_svshold Hide server notices by default
Issue #742
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_svshold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp
index c821f63bb..af306ce62 100644
--- a/src/modules/m_svshold.cpp
+++ b/src/modules/m_svshold.cpp
@@ -180,7 +180,7 @@ class ModuleSVSHold : public Module
void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
{
ConfigTag* tag = ServerInstance->Config->ConfValue("svshold");
- silent = tag->getBool("silent");
+ silent = tag->getBool("silent", true);
}
ModResult OnStats(char symbol, User* user, string_list &out) CXX11_OVERRIDE