Comparison

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
comparison
equal deleted inserted replaced
5119:d868ce990838 5120:bcabea740c00
984 module:log("warn", "Using functions as value for the console_banner option is no longer supported"); 984 module:log("warn", "Using functions as value for the console_banner option is no longer supported");
985 end 985 end
986 end 986 end
987 end 987 end
988 988
989 module:add_item("net-provider", { 989 module:provides("net", {
990 name = "console"; 990 name = "console";
991 listener = console_listener; 991 listener = console_listener;
992 default_port = 5582; 992 default_port = 5582;
993 private = true; 993 private = true;
994 }); 994 });