# HG changeset patch # User Kim Alvefur # Date 1411504913 -7200 # Node ID 4ef0a1a499fae2030b37e3e56da04be9c6061845 # Parent cf572280b4dcd3dec94075d32014a448d6265e08 mod_proxy65_whitelist: Fix util.set use (thanks deoren) diff -r cf572280b4dc -r 4ef0a1a499fa mod_proxy65_whitelist/mod_proxy65_whitelist.lua --- a/mod_proxy65_whitelist/mod_proxy65_whitelist.lua Tue Sep 23 21:30:47 2014 +0200 +++ b/mod_proxy65_whitelist/mod_proxy65_whitelist.lua Tue Sep 23 22:41:53 2014 +0200 @@ -3,7 +3,7 @@ if module:get_option_boolean("allow_local_streamhosts", true) then for hostname, host in pairs(hosts) do if host.modules.proxy65 then - allowed_streamhosts:include(hostname); + allowed_streamhosts:add(hostname); end end end