From: Vsevolod Stakhov Date: Mon, 18 Feb 2019 18:08:28 +0000 (+0000) Subject: [Minor] Fix get_urls method X-Git-Tag: 1.9.0~123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb5177cf94ee3cd9941cd820dbd8ecfe6746bae2;p=rspamd.git [Minor] Fix get_urls method --- diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index f9c1f3a39..8e1a851b4 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1908,6 +1908,9 @@ lua_task_get_urls (lua_State * L) g_strfreev (strvec); } + else { + protocols_mask = default_mask; + } } else { protocols_mask = default_mask;