Software /
code /
prosody-modules
Diff
mod_proxy65_whitelist/mod_proxy65_whitelist.lua @ 1512:cf572280b4dc
mod_proxy65_whitelist: Fix variable name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Sep 2014 21:30:47 +0200 |
parent | 1511:ef613b40591a |
child | 1513:4ef0a1a499fa |
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