]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix get_urls method
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Feb 2019 18:08:28 +0000 (18:08 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Feb 2019 18:08:28 +0000 (18:08 +0000)
src/lua/lua_task.c

index f9c1f3a397805b08d7a19d7a73ea5e8b93b1d1e0..8e1a851b4308931b31db229805aef569f5712b6e 100644 (file)
@@ -1908,6 +1908,9 @@ lua_task_get_urls (lua_State * L)
 
                                g_strfreev (strvec);
                        }
+                       else {
+                               protocols_mask = default_mask;
+                       }
                }
                else {
                        protocols_mask = default_mask;