aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-03 00:32:57 +0100
committerKim Alvefur <zash@zash.se>2012-03-03 00:32:57 +0100
commit92dbf7e7a2a3ad3139d2a884cf90c740acfa9987 (patch)
tree91427031e8c63795078206c9b193a532c7af1241
parent82925c2003205354bc57d48769eefbc289e825bf (diff)
downloadprosody-92dbf7e7a2a3ad3139d2a884cf90c740acfa9987.tar.gz
prosody-92dbf7e7a2a3ad3139d2a884cf90c740acfa9987.zip
mod_admin_telnet: Import util.iterators properly
-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;