From d9d38ef125272cd4eaf93453275cc9078b7e8281 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 12 Sep 2012 22:22:31 +0500 Subject: mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). --- plugins/mod_s2s/mod_s2s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_s2s') 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; -- cgit v1.2.3