aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 090b522b..22441faa 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -123,7 +123,7 @@ function module.add_host(module)
end
end
-module:add_item("net-provider", {
+module:provides("net", {
name = "http";
listener = server.listener;
default_port = 5280;
@@ -132,7 +132,7 @@ module:add_item("net-provider", {
};
});
-module:add_item("net-provider", {
+module:provides("net", {
name = "https";
listener = server.listener;
default_port = 5281;