From 171a334bcd2fd78adf281ee4e39214c26ded315f Mon Sep 17 00:00:00 2001 From: DjSlash Date: Wed, 30 Mar 2011 23:07:46 +0200 Subject: Fix bug 126, thanks to Seb --- src/modules/m_silence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index bd1e1ffe0..e99644298 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -317,7 +317,7 @@ class ModuleSilence : public Module { if (IS_LOCAL(i->first)) { - if (MatchPattern(i->first, sender, public_silence) == MOD_RES_ALLOW) + if (MatchPattern(i->first, sender, public_silence) == MOD_RES_DENY) { exempt_list.insert(i->first); } -- cgit v1.2.3