changeset 1512:cf572280b4dc

mod_proxy65_whitelist: Fix variable name
author Kim Alvefur <zash@zash.se>
date Tue, 23 Sep 2014 21:30:47 +0200
parents ef613b40591a
children 4ef0a1a499fa
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	Mon Sep 22 18:24:37 2014 +0200
+++ b/mod_proxy65_whitelist/mod_proxy65_whitelist.lua	Tue Sep 23 21:30:47 2014 +0200
@@ -2,7 +2,7 @@
 
 if module:get_option_boolean("allow_local_streamhosts", true) then
 	for hostname, host in pairs(hosts) do
-		if streamhost.modules.proxy65 then
+		if host.modules.proxy65 then
 			allowed_streamhosts:include(hostname);
 		end
 	end