Diff

plugins/mod_component.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 5059:246ba539a5cd
child 5298:6d34ed9fce69
line wrap: on
line diff
--- a/plugins/mod_component.lua	Wed Sep 12 22:03:57 2012 +0500
+++ b/plugins/mod_component.lua	Wed Sep 12 22:22:31 2012 +0500
@@ -307,7 +307,7 @@
 	end
 end
 
-module:add_item("net-provider", {
+module:provides("net", {
 	name = "component";
 	listener = listener;
 	default_port = 5347;