diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-02-25 16:48:38 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-25 16:48:38 +0100 |
commit | 4e0fd52057d1738f55d890b28e39e5ba685a3d26 (patch) | |
tree | 1287461a98ffbbc455d674151329c956a47faecb /src/modules/m_svshold.cpp | |
parent | 5a64433015f5a25af133a136468093a140595bc5 (diff) |
m_svshold Hide server notices by default
Issue #742
Diffstat (limited to 'src/modules/m_svshold.cpp')
-rw-r--r-- | src/modules/m_svshold.cpp | 2 |
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 |