Software /
code /
prosody
Diff
plugins/mod_admin_adhoc.lua @ 5371:706206e191e8
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:27:38 +0100 |
parent | 5329:9fffd5fad4b3 |
child | 5514:1091d7c3b4d2 |
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua Sat Mar 23 01:27:16 2013 +0100 +++ b/plugins/mod_admin_adhoc.lua Sat Mar 23 01:27:38 2013 +0100 @@ -10,8 +10,7 @@ local hosts = prosody.hosts; local t_concat = table.concat; -local iterators = require "util.iterators"; -local keys, values = iterators.keys, iterators.values; +local keys = require "util.iterators".keys; local usermanager_user_exists = require "core.usermanager".user_exists; local usermanager_create_user = require "core.usermanager".create_user; local usermanager_delete_user = require "core.usermanager".delete_user; @@ -19,9 +18,8 @@ local usermanager_set_password = require "core.usermanager".set_password; local hostmanager_activate = require "core.hostmanager".activate; local hostmanager_deactivate = require "core.hostmanager".deactivate; -local is_admin = require "core.usermanager".is_admin; local rm_load_roster = require "core.rostermanager".load_roster; -local st, jid, uuid = require "util.stanza", require "util.jid", require "util.uuid"; +local st, jid = require "util.stanza", require "util.jid"; local timer_add_task = require "util.timer".add_task; local dataforms_new = require "util.dataforms".new; local array = require "util.array";