mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
This commit is contained in:
parent
543b3a5e80
commit
025eca8452
6 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue