Software /
code /
prosody
Diff
plugins/mod_net_multiplex.lua @ 5120:bcabea740c00
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 12 Sep 2012 22:22:31 +0500 |
parent | 4619:d5739b8b7161 |
child | 6380:4220ffb87b22 |
line wrap: on
line diff
--- a/plugins/mod_net_multiplex.lua Wed Sep 12 22:03:57 2012 +0500 +++ b/plugins/mod_net_multiplex.lua Wed Sep 12 22:22:31 2012 +0500 @@ -57,7 +57,7 @@ buffers[conn] = nil; -- warn if no buffer? end -module:add_item("net-provider", { +module:provides("net", { name = "multiplex"; config_prefix = ""; listener = listener;