diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index 1be67883..7f3ce20e 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -46,9 +46,9 @@ function adduser(params) end function user_exists(params) - local provider = prosody.hosts[host].users; + local provider = prosody.hosts[params.host].users; if not(provider) or provider.name == "null" then - usermanager.initialize_host(host); + usermanager.initialize_host(params.host); end return usermanager.user_exists(params.user, params.host); |