diff options
author | Waqas Hussain <waqas20@gmail.com> | 2012-09-12 22:22:31 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2012-09-12 22:22:31 +0500 |
commit | 025eca8452019482ca9840c488f22f43510185bc (patch) | |
tree | 7ca91855d7d7eb6e389ecb648f1785f6c250437d /plugins/mod_net_multiplex.lua | |
parent | 543b3a5e807c88050d8cf277eacc9aa0eb46f5d7 (diff) | |
download | prosody-025eca8452019482ca9840c488f22f43510185bc.tar.gz prosody-025eca8452019482ca9840c488f22f43510185bc.zip |
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
Diffstat (limited to 'plugins/mod_net_multiplex.lua')
-rw-r--r-- | plugins/mod_net_multiplex.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_net_multiplex.lua b/plugins/mod_net_multiplex.lua index 44e1c1ee..d666b907 100644 --- a/plugins/mod_net_multiplex.lua +++ b/plugins/mod_net_multiplex.lua @@ -57,7 +57,7 @@ function listener.ondisconnect(conn, err) buffers[conn] = nil; -- warn if no buffer? end -module:add_item("net-provider", { +module:provides("net", { name = "multiplex"; config_prefix = ""; listener = listener; |