Software /
code /
prosody
Comparison
plugins/mod_admin_telnet.lua @ 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 |
parent | 5769:f6ea5b3739c9 |
child | 6017:ac0879a8190a |
child | 6064:c4a3222165c4 |
comparison
equal
deleted
inserted
replaced
6015:8fead005ee60 | 6016:eb05360e8525 |
---|---|
21 | 21 |
22 local console_listener = { default_port = 5582; default_mode = "*a"; interface = "127.0.0.1" }; | 22 local console_listener = { default_port = 5582; default_mode = "*a"; interface = "127.0.0.1" }; |
23 | 23 |
24 local iterators = require "util.iterators"; | 24 local iterators = require "util.iterators"; |
25 local keys, values = iterators.keys, iterators.values; | 25 local keys, values = iterators.keys, iterators.values; |
26 local jid = require "util.jid"; | 26 local jid_bare, jid_split = import("util.jid", "bare", "prepped_split"); |
27 local jid_bare, jid_split = jid.bare, jid.split; | |
28 local set, array = require "util.set", require "util.array"; | 27 local set, array = require "util.set", require "util.array"; |
29 local cert_verify_identity = require "util.x509".verify_identity; | 28 local cert_verify_identity = require "util.x509".verify_identity; |
30 local envload = require "util.envload".envload; | 29 local envload = require "util.envload".envload; |
31 local envloadfile = require "util.envload".envloadfile; | 30 local envloadfile = require "util.envload".envloadfile; |
32 | 31 |