diff options
author | Peter Powell <petpow@saberuk.com> | 2013-10-23 23:46:08 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-10-26 14:10:24 +0200 |
commit | 541e74bc147f4614f61c2781b7a82f3dbf9c9a32 (patch) | |
tree | 150e2020ccda2c7d56157a94fa1d5a0963535a0c /src | |
parent | 5ad3a1cd8c8d09a4f2d350a53089af392cf4be0f (diff) |
Fix m_silence looking for maxentries in <showwhois> instead of <silence>.
Fixes issue #644.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_silence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index ce5b26500..c82ab3f9d 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -315,7 +315,7 @@ class ModuleSilence : public Module void OnRehash(User* user) { - maxsilence = ServerInstance->Config->ConfValue("showwhois")->getInt("maxentries", 32); + maxsilence = ServerInstance->Config->ConfValue("silence")->getInt("maxentries", 32); if (!maxsilence) maxsilence = 32; } |