aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-12 22:22:31 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-12 22:22:31 +0500
commitd9d38ef125272cd4eaf93453275cc9078b7e8281 (patch)
tree7ca91855d7d7eb6e389ecb648f1785f6c250437d /plugins/mod_admin_telnet.lua
parentb84e883632942bc98524a80d02522150b2204b43 (diff)
downloadprosody-d9d38ef125272cd4eaf93453275cc9078b7e8281.tar.gz
prosody-d9d38ef125272cd4eaf93453275cc9078b7e8281.zip
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 2f7bb57e..bdd6e87e 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -986,7 +986,7 @@ function printbanner(session)
end
end
-module:add_item("net-provider", {
+module:provides("net", {
name = "console";
listener = console_listener;
default_port = 5582;