Software /
code /
prosody
Comparison
plugins/mod_proxy65.lua @ 5375:b31ab26f9997
mod_proxy65: Fix typo in comment
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:42:48 +0100 |
parent | 5336:eeb24f1e2c84 |
child | 5776:bd0ff8ae98a8 |
comparison
equal
deleted
inserted
replaced
5374:b62c6cbcb065 | 5375:b31ab26f9997 |
---|---|
93 | 93 |
94 local proxy_address = module:get_option("proxy65_address", host); | 94 local proxy_address = module:get_option("proxy65_address", host); |
95 local proxy_port = next(portmanager.get_active_services():search("proxy65", nil)[1] or {}); | 95 local proxy_port = next(portmanager.get_active_services():search("proxy65", nil)[1] or {}); |
96 local proxy_acl = module:get_option("proxy65_acl"); | 96 local proxy_acl = module:get_option("proxy65_acl"); |
97 | 97 |
98 -- COMPAT w/pre-0.9 where proxy65_port was specified the components section of the config | 98 -- COMPAT w/pre-0.9 where proxy65_port was specified in the components section of the config |
99 local legacy_config = module:get_option_number("proxy65_port"); | 99 local legacy_config = module:get_option_number("proxy65_port"); |
100 if legacy_config then | 100 if legacy_config then |
101 module:log("warn", "proxy65_port is deprecated, please put proxy65_ports = { %d } into the global section instead", legacy_config); | 101 module:log("warn", "proxy65_port is deprecated, please put proxy65_ports = { %d } into the global section instead", legacy_config); |
102 end | 102 end |
103 | 103 |