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 | d9d38ef125272cd4eaf93453275cc9078b7e8281 (patch) | |
tree | 7ca91855d7d7eb6e389ecb648f1785f6c250437d /plugins/mod_s2s/mod_s2s.lua | |
parent | b84e883632942bc98524a80d02522150b2204b43 (diff) | |
download | prosody-d9d38ef125272cd4eaf93453275cc9078b7e8281.tar.gz prosody-d9d38ef125272cd4eaf93453275cc9078b7e8281.zip |
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 321ed0d7..65379f5b 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -498,7 +498,7 @@ end s2sout.set_listener(listener); -module:add_item("net-provider", { +module:provides("net", { name = "s2s"; listener = listener; default_port = 5269; |