diff options
Diffstat (limited to 'src/lua/lua_regexp.c')
-rw-r--r-- | src/lua/lua_regexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_regexp.c b/src/lua/lua_regexp.c index 80b752172..1e6122b2e 100644 --- a/src/lua/lua_regexp.c +++ b/src/lua/lua_regexp.c @@ -640,7 +640,7 @@ lua_regexp_split (lua_State *L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = old_start; t->len = start - old_start; - t->own = FALSE; + t->flags = 0; } lua_rawseti (L, -2, ++i); @@ -665,7 +665,7 @@ lua_regexp_split (lua_State *L) rspamd_lua_setclass (L, "rspamd{text}", -1); t->start = end; t->len = (data + len) - end; - t->own = FALSE; + t->flags = 0; } lua_rawseti (L, -2, ++i); |