diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-08 21:32:19 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-08 21:32:19 +0300 |
commit | 7e1e71a5459a0729326f15ee30e28ccb17e597f9 (patch) | |
tree | e61397c0f779292b480f79b8ceddcfa4292cd7fd /src/plugins | |
parent | 93a1584882133dc81d46fa8e15943fcab6e8ce3f (diff) | |
download | rspamd-7e1e71a5459a0729326f15ee30e28ccb17e597f9.tar.gz rspamd-7e1e71a5459a0729326f15ee30e28ccb17e597f9.zip |
Call lua functions correctly as well.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index ce6599e86..4ae056bee 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -1017,7 +1017,7 @@ process_regexp_item (struct worker_task *task, void *user_data) if (item->lua_function) { /* Just call function */ - if (lua_call_expression_func (item->lua_function, task, NULL, &res) && res) { + if (lua_call_expression_func ("regexp", item->lua_function, task, NULL, &res) && res) { insert_result (task, item->symbol, 1, NULL); } } |