Mercurial > prosody-hg
diff plugins/mod_httpserver.lua @ 1552:334b66f614a6
mod_httpserver: Update to use new new_from_config() too
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 14 Jul 2009 21:04:22 +0100 |
| parents | dff620405503 |
| children | c7bb2264e3b8 3e17002221eb |
line wrap: on
line diff
--- a/plugins/mod_httpserver.lua Tue Jul 14 21:04:07 2009 +0100 +++ b/plugins/mod_httpserver.lua Tue Jul 14 21:04:22 2009 +0100 @@ -28,4 +28,4 @@ end local ports = config.get(module.host, "core", "http_ports") or { 5280 }; -httpserver.new_from_config(ports, handle_request); +httpserver.new_from_config(ports, "files", handle_request);
