Browse Source

[Minor] Surbl: Skip displayed only urls

tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
1f725cbd80
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/plugins/surbl.c

+ 5
- 0
src/plugins/surbl.c View File

@@ -1907,6 +1907,11 @@ surbl_tree_url_callback (gpointer key, gpointer value, void *data)
return;
}

if (url->flags & RSPAMD_URL_FLAG_HTML_DISPLAYED) {
/* Skip urls that are displayed only */
return;
}

task = param->task;
surbl_module_ctx = param->ctx;


Loading…
Cancel
Save