summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorDjSlash <djslash@djslash.org>2011-03-30 23:07:46 +0200
committerDjSlash <djslash@djslash.org>2011-03-30 23:07:46 +0200
commit171a334bcd2fd78adf281ee4e39214c26ded315f (patch)
tree811cb90c9cc71cf6c71a6ef983d15efc9d5cb04c /src/modules
parent1a721c948dd2db82c9a3b4b7458881f1b118bcf5 (diff)
Fix bug 126, thanks to Seb
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_silence.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}