Changeset

6016:eb05360e8525

mod_admin_telnet: Prep jids for user:create() etc.
author Kim Alvefur <zash@zash.se>
date Sun, 09 Feb 2014 15:17:01 +0100
parents 6015:8fead005ee60
children 6017:ac0879a8190a 6023:93b4058e3320
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Sun Feb 09 15:13:46 2014 +0100
+++ b/plugins/mod_admin_telnet.lua	Sun Feb 09 15:17:01 2014 +0100
@@ -23,8 +23,7 @@
 
 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;