aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-02-09 15:17:01 +0100
committerKim Alvefur <zash@zash.se>2014-02-09 15:17:01 +0100
commit18d90ad498ceca3419c3c2d81f4325e8222e8537 (patch)
treeeb75cc10c0f8f0d0c444f0ba4bd18e7f2dc971fc /plugins/mod_admin_telnet.lua
parentb96d8e97efbee4a848d26d13eec62a19c6e68c3a (diff)
downloadprosody-18d90ad498ceca3419c3c2d81f4325e8222e8537.tar.gz
prosody-18d90ad498ceca3419c3c2d81f4325e8222e8537.zip
mod_admin_telnet: Prep jids for user:create() etc.
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 131689c5..2572e982 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -23,8 +23,7 @@ local console_listener = { default_port = 5582; default_mode = "*a"; interface =
local iterators = require "util.iterators";
local keys, values = iterators.keys, iterators.values;
-local jid = require "util.jid";
-local jid_bare, jid_split = jid.bare, jid.split;
+local jid_bare, jid_split = import("util.jid", "bare", "prepped_split");
local set, array = require "util.set", require "util.array";
local cert_verify_identity = require "util.x509".verify_identity;
local envload = require "util.envload".envload;