mod_proxy65_whitelist/mod_proxy65_whitelist.lua
changeset 1513 4ef0a1a499fa
parent 1512 cf572280b4dc
child 2353 48686b399a88
--- 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