aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-01 14:26:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-01 14:26:32 +0100
commit718238fd33017f346d1e84fe757481f9f147eb90 (patch)
tree34140ab35d6b9709d3c8ff45c8c1a7501ee44dd9 /src/lua/lua_common.h
parent6b80e5120a9edeebee4e266fc17c81e2a5ddaf40 (diff)
downloadrspamd-718238fd33017f346d1e84fe757481f9f147eb90.tar.gz
rspamd-718238fd33017f346d1e84fe757481f9f147eb90.zip
[Rework] Rework learn and add classify condition
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index b929ab864..10816d450 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -572,7 +572,7 @@ void rspamd_lua_add_ref_dtor (lua_State *L, rspamd_mempool_t *pool,
* @return
*/
gint rspamd_lua_function_ref_from_str (lua_State *L, const gchar *str, gsize slen,
- GError **err);
+ const gchar *modname, GError **err);
/**
* Tries to load some module using `require` and get some method from it