mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27: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
b84e883632
commit
d9d38ef125
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