From 025eca8452019482ca9840c488f22f43510185bc Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 12 Sep 2012 22:22:31 +0500 Subject: mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). --- plugins/mod_component.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_component.lua') 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; -- cgit v1.2.3