diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-01 11:08:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-01 11:08:43 +0100 |
commit | 6bd388ae930900bef74532f810c4411650761868 (patch) | |
tree | bb164cd166ae1a43c2c7214d6961f0acda622ec8 /src/lua/lua_map.c | |
parent | 083e6ac5ce374e1e9759c7998dd04b9525333eb4 (diff) | |
download | rspamd-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.c | 1 |
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); |