From f6f67e9fa8012ce2cc45420838fa7469622d454e Mon Sep 17 00:00:00 2001 From: Sebastian Goth Date: Mon, 18 Jan 2010 23:55:30 +0100 Subject: [PATCH] And don't fuckup '*' rules --- src/common/ignorelistmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ignorelistmanager.cpp b/src/common/ignorelistmanager.cpp index 81382b26..bd37a20e 100644 --- a/src/common/ignorelistmanager.cpp +++ b/src/common/ignorelistmanager.cpp @@ -122,7 +122,7 @@ IgnoreListManager::StrictnessType IgnoreListManager::match(const Message &msg, c return UnmatchedStrictness; foreach(IgnoreListItem item, _ignoreList) { - if(!item.isActive) + if(!item.isActive || item.type == CtcpIgnore) continue; if(item.scope == GlobalScope || (item.scope == NetworkScope && scopeMatch(item.scopeRule, network)) || (item.scope == ChannelScope && scopeMatch(item.scopeRule, msg.bufferInfo().bufferName()))) { -- 2.20.1