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
commitb201dabbfdf598f0d300bc9682444bd435611063 (patch)
tree5e4b05f3526d7566cf3cba3b33e00db6d7d39038 /util/prosodyctl.lua
parentaa43aec46ef41d3bb5f398d10cb28aafa7502b5d (diff)
parent74f4177db0d98a050df1693c5f3b061559865a64 (diff)
downloadprosody-b201dabbfdf598f0d300bc9682444bd435611063.tar.gz
prosody-b201dabbfdf598f0d300bc9682444bd435611063.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;