Software /
code /
prosody
Changeset
4596:87a5b7f39100
Merge with Zash
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 09 Mar 2012 18:39:09 +0000 |
parents | 4593:470f502f02a3 (current diff) 4595:bd6dc94d60e9 (diff) |
children | 4597:25d89c7d6aee |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua Thu Mar 08 00:18:16 2012 +0000 +++ b/plugins/mod_admin_adhoc.lua Fri Mar 09 18:39:09 2012 +0000 @@ -10,7 +10,8 @@ local hosts = prosody.hosts; local t_concat = table.concat; -require "util.iterators"; +local iterators = require "util.iterators"; +local keys, values = iterators.keys, iterators.values; local usermanager_user_exists = require "core.usermanager".user_exists; local usermanager_create_user = require "core.usermanager".create_user; local usermanager_get_password = require "core.usermanager".get_password; @@ -23,6 +24,7 @@ local array = require "util.array"; local modulemanager = require "modulemanager"; +module:depends"adhoc"; local adhoc_new = module:require "adhoc".new; function add_user_command_handler(self, data, state)