Diff

plugins/mod_admin_telnet.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 5030:9962fc19f9e9
child 5133:1443d1c37c6c
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Wed Sep 12 22:03:57 2012 +0500
+++ b/plugins/mod_admin_telnet.lua	Wed Sep 12 22:22:31 2012 +0500
@@ -986,7 +986,7 @@
 	end
 end
 
-module:add_item("net-provider", {
+module:provides("net", {
 	name = "console";
 	listener = console_listener;
 	default_port = 5582;