From: Vsevolod Stakhov Date: Thu, 29 Jul 2021 20:20:26 +0000 (+0100) Subject: [Minor] Fix else branch X-Git-Tag: 3.0~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f89487e366ddb30b05f77e17089b22735dc5bfc;p=thirdparty%2Frspamd.git [Minor] Fix else branch --- diff --git a/src/lua/lua_html.cxx b/src/lua/lua_html.cxx index d20de03c0a..848bfbdf38 100644 --- a/src/lua/lua_html.cxx +++ b/src/lua/lua_html.cxx @@ -590,6 +590,9 @@ lua_html_tag_get_content (lua_State *L) t->len = ct.size(); t->flags = 0; } + else { + lua_pushnil (L); + } } else { lua_pushnil (L);