From 541e74bc147f4614f61c2781b7a82f3dbf9c9a32 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 23 Oct 2013 23:46:08 +0100 Subject: Fix m_silence looking for maxentries in instead of . Fixes issue #644. --- src/modules/m_silence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3