aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-11-15 14:07:53 -0500
committerMatthew Wild <mwild1@gmail.com>2012-11-15 14:07:53 -0500
commitb16826a916ddd7124cf4e1fc579b09f5c1a0c04f (patch)
treeb4f61532023b0ef12dadab99cc45df9e12a7502e /plugins/mod_http.lua
parent80711fd402439eb00afef9411334b72f6e615647 (diff)
parentcfceef5b2216cbaadec0601ded7fabcaef7377f7 (diff)
downloadprosody-b16826a916ddd7124cf4e1fc579b09f5c1a0c04f.tar.gz
prosody-b16826a916ddd7124cf4e1fc579b09f5c1a0c04f.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 22441faa..a7b4a45f 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -67,7 +67,7 @@ function moduleapi.http_url(module, app_name, default_path)
end
function module.add_host(module)
- local host = module.host;
+ local host = module:get_option_string("http_host", module.host);
local apps = {};
module.environment.apps = apps;
local function http_app_added(event)