mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().

This commit is contained in:
Waqas Hussain 2012-09-12 22:22:31 +05:00
parent b84e883632
commit d9d38ef125
6 changed files with 8 additions and 8 deletions

View file

@ -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;