# HG changeset patch # User Kim Alvefur # Date 1391955421 -3600 # Node ID eb05360e85256d8331cd816ab2dac3238aafae73 # Parent 8fead005ee6081327243a7caae5ae3a970dc999f mod_admin_telnet: Prep jids for user:create() etc. diff -r 8fead005ee60 -r eb05360e8525 plugins/mod_admin_telnet.lua --- 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;