Changeset

1513:4ef0a1a499fa

mod_proxy65_whitelist: Fix util.set use (thanks deoren)
author Kim Alvefur <zash@zash.se>
date Tue, 23 Sep 2014 22:41:53 +0200
parents 1512:cf572280b4dc
children 1514:18349533c44d
files mod_proxy65_whitelist/mod_proxy65_whitelist.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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