diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-25 14:59:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-25 14:59:27 +0000 |
commit | 5e664e839c9a7a45ab19cdfa769fdbbfef73b1a7 (patch) | |
tree | 9d0fc1e0334e583270844b987b4304c0f1df0c16 /src/lua/lua_common.h | |
parent | 074033b9aa59529eac839513b982505e6adef7f5 (diff) | |
download | rspamd-5e664e839c9a7a45ab19cdfa769fdbbfef73b1a7.tar.gz rspamd-5e664e839c9a7a45ab19cdfa769fdbbfef73b1a7.zip |
[Minor] Lua_text: Add `lines` method and fix empty text creation
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 9878cc521..61e024e09 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -231,7 +231,7 @@ struct rspamd_lua_ip *lua_check_ip (lua_State *L, gint pos); struct rspamd_lua_text *lua_check_text (lua_State *L, gint pos); /* Creates and *pushes* new rspamd text, data is copied if RSPAMD_TEXT_FLAG_OWN is in flags*/ struct rspamd_lua_text *lua_new_text (lua_State *L, const gchar *start, - gsize len, guint flags); + gsize len, gboolean own); struct rspamd_lua_regexp *lua_check_regexp (lua_State *L, gint pos); |