aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-03 01:12:16 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-03 01:12:16 +0000
commit70d52039207bfec821b6d30046802e9615843c33 (patch)
tree8f9d31409a96454dcd8a82185d2c76e39ba810d4 /plugins/mod_admin_telnet.lua
parent0a43ddb0f8c91982fba926e2d2f4fe9828198e6e (diff)
parent71528cdc3726be326d6a0afb76f490b7d3c4fcc6 (diff)
downloadprosody-70d52039207bfec821b6d30046802e9615843c33.tar.gz
prosody-70d52039207bfec821b6d30046802e9615843c33.zip
Merge with Zash
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index d3f5543e..fd72787e 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -15,7 +15,8 @@ local hosts = prosody.hosts;
local console_listener = { default_port = 5582; default_mode = "*l"; interface = "127.0.0.1" };
-require "util.iterators";
+local iterators = require "util.iterators";
+local keys, values = iterators.keys, iterators.values;
local jid_bare = require "util.jid".bare;
local set, array = require "util.set", require "util.array";
local cert_verify_identity = require "util.x509".verify_identity;