Software /
code /
prosody
Diff
util/prosodyctl.lua @ 7263:015a711a8ccf
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 10 Mar 2016 17:55:40 +0000 |
parent | 7262:751a4832adb4 |
child | 7457:5e18416881bb |
line wrap: on
line diff
--- a/util/prosodyctl.lua Wed Mar 09 13:19:38 2016 +0000 +++ b/util/prosodyctl.lua Thu Mar 10 17:55:40 2016 +0000 @@ -22,7 +22,7 @@ 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 @@ 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;