Diff

plugins/mod_s2s/mod_s2s.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 (2012-09-12)
parent 5013:ab693eea0869
child 5173:b22d24b5a89a
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Wed Sep 12 22:03:57 2012 +0500
+++ b/plugins/mod_s2s/mod_s2s.lua	Wed Sep 12 22:22:31 2012 +0500
@@ -498,7 +498,7 @@
 
 s2sout.set_listener(listener);
 
-module:add_item("net-provider", {
+module:provides("net", {
 	name = "s2s";
 	listener = listener;
 	default_port = 5269;