aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index cff54f61..6270b403 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -307,7 +307,7 @@ function listener.ondisconnect(conn, err)
end
end
-module:add_item("net-provider", {
+module:provides("net", {
name = "component";
listener = listener;
default_port = 5347;