aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-01 11:08:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-01 11:08:43 +0100
commit6bd388ae930900bef74532f810c4411650761868 (patch)
treebb164cd166ae1a43c2c7214d6961f0acda622ec8 /src/lua/lua_map.c
parent083e6ac5ce374e1e9759c7998dd04b9525333eb4 (diff)
downloadrspamd-6bd388ae930900bef74532f810c4411650761868.tar.gz
rspamd-6bd388ae930900bef74532f810c4411650761868.zip
[Minor] Add flags for rspamd_lua_parse_table_arguments
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r--src/lua/lua_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index 3ba7d0ed1..9c90cdf55 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -493,6 +493,7 @@ lua_config_add_map (lua_State *L)
if (cfg) {
if (!rspamd_lua_parse_table_arguments (L, 2, &err,
+ RSPAMD_LUA_PARSE_ARGUMENTS_DEFAULT,
"*url=O;description=S;callback=F;type=S",
&map_obj, &description, &cbidx, &type)) {
ret = luaL_error (L, "invalid table arguments: %s", err->message);