util.prosodyctl: Remove unused variable [luacheck]
authorMatthew Wild <mwild1@gmail.com>
Thu, 10 Mar 2016 17:53:36 +0000 (17:53 +0000)
committerMatthew Wild <mwild1@gmail.com>
Thu, 10 Mar 2016 17:53:36 +0000 (17:53 +0000)
util/prosodyctl.lua

index 207b37630bef299d5be0d1124aeb33c40f27c03e..cde1cdd4ce7b839d07648835c2948eeaf25dbcd7 100644 (file)
@@ -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;