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/lua/lua_common.h | |
parent | 93a1584882133dc81d46fa8e15943fcab6e8ce3f (diff) | |
download | rspamd-7e1e71a5459a0729326f15ee30e28ccb17e597f9.tar.gz rspamd-7e1e71a5459a0729326f15ee30e28ccb17e597f9.zip |
Call lua functions correctly as well.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index d70501034..4851dc1a6 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -42,7 +42,7 @@ gboolean init_lua_filters (struct config_file *cfg); gint lua_call_filter (const gchar *function, struct worker_task *task); gint lua_call_chain_filter (const gchar *function, struct worker_task *task, gint *marks, guint number); double lua_consolidation_func (struct worker_task *task, const gchar *metric_name, const gchar *function_name); -gboolean lua_call_expression_func (const gchar *function, struct worker_task *task, GList *args, gboolean *res); +gboolean lua_call_expression_func (const gchar *module, const gchar *symbol, struct worker_task *task, GList *args, gboolean *res); void lua_call_post_filters (struct worker_task *task); void add_luabuf (const gchar *line); |