aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-03-10 17:55:40 +0000
committerMatthew Wild <mwild1@gmail.com>2016-03-10 17:55:40 +0000
commit96bfdd66ff021279115716c0640539e97739f51e (patch)
tree5e4b05f3526d7566cf3cba3b33e00db6d7d39038 /util/prosodyctl.lua
parent5ea1c295b302a15b2322fb0b103e0bab32d62643 (diff)
parent0d16907ff389fad3fd9135f1f84c4805b5e19687 (diff)
downloadprosody-96bfdd66ff021279115716c0640539e97739f51e.tar.gz
prosody-96bfdd66ff021279115716c0640539e97739f51e.zip
Merge 0.10->trunk
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r--util/prosodyctl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index f8f28644..cde1cdd4 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -22,7 +22,7 @@ local nodeprep, nameprep = stringprep.nodeprep, stringprep.nameprep;
local io, os = io, os;
local print = print;
-local tostring, tonumber = tostring, tonumber;
+local tonumber = tonumber;
local CFG_SOURCEDIR = _G.CFG_SOURCEDIR;
@@ -149,7 +149,7 @@ local function adduser(params)
end
local function user_exists(params)
- local user, host, password = nodeprep(params.user), nameprep(params.host), params.password;
+ local user, host = nodeprep(params.user), nameprep(params.host);
storagemanager.initialize_host(host);
local provider = prosody.hosts[host].users;