]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix else branch
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Jul 2021 20:20:26 +0000 (21:20 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Jul 2021 20:20:26 +0000 (21:20 +0100)
src/lua/lua_html.cxx

index d20de03c0af92b28a8c2dff8267174fb338ae710..848bfbdf3819506cd95d8c82ee7340efed3fd15c 100644 (file)
@@ -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);