summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-01-13 16:35:17 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-01-13 16:35:17 +0300
commitfc70f10e7c2a7b0aeb5da7b28c64131b03538e76 (patch)
treeb1c8ad0c8772f035a4b2fe2fc5dd43dff439f927 /src/plugins
parentd544f1d5770f56bf8b2b75ca7a04ac5441069e68 (diff)
downloadrspamd-fc70f10e7c2a7b0aeb5da7b28c64131b03538e76.tar.gz
rspamd-fc70f10e7c2a7b0aeb5da7b28c64131b03538e76.zip
* Add ability to add normalizers for statfiles (custom functions written in lua or simple internal normalizer)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 70945b19c..7be53e252 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -299,7 +299,7 @@ process_regexp (struct rspamd_regexp *re, struct worker_task *task, const char *
if (additional != NULL) {
/* We have additional parameter defined, so ignore type of regexp expression and use it for parsing */
- if (g_regex_match_full (regexp, additional, strlen (additional), 0, 0, NULL, NULL) == TRUE) {
+ if (g_regex_match_full (re->regexp, additional, strlen (additional), 0, 0, NULL, NULL) == TRUE) {
task_cache_add (task, re, 1);
return 1;
}