aboutsummaryrefslogtreecommitdiffstats
path: root/src/view.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 16:53:13 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-16 16:53:13 +0400
commit8909ac45092c23bb6283ae389a5f6c94de49ad9d (patch)
tree0740f3a83d972ed52c89f31900cb9076a5449c20 /src/view.c
parent0ce0e854ccf8637f99370b9dd5c8322bd9ef9b76 (diff)
downloadrspamd-8909ac45092c23bb6283ae389a5f6c94de49ad9d.tar.gz
rspamd-8909ac45092c23bb6283ae389a5f6c94de49ad9d.zip
* Add ability to skip check in views
Diffstat (limited to 'src/view.c')
-rw-r--r--src/view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view.c b/src/view.c
index 3acd165ed..393882049 100644
--- a/src/view.c
+++ b/src/view.c
@@ -209,6 +209,9 @@ check_view (GList * views, const char *symbol, struct worker_task * task)
check_symbol:
/* selected is now not NULL */
+ if (task->view->skip_check) {
+ return FALSE;
+ }
if (match_view_symbol (task->view, symbol)) {
return TRUE;
}