mod_firewall: Fix to find scripts when installed with plugin installer
Extra resources are stored in a different path by luarocks, not
alongside the code as this code assumed.
Thanks eTaurus
local disable_tls_ports = module:get_option_set("disable_tls_ports", {});
module:hook("stream-features", function (event)
if disable_tls_ports:contains(event.origin.conn:serverport()) then
module:log("error", "Disabling TLS for client on port %d", event.origin.conn:serverport());
event.origin.conn.starttls = false;
end
end, 1000);