# HG changeset patch # User Kim Alvefur # Date 1525200697 -7200 # Node ID 9c9b198bab843561483d2fec71efa9aa2f6fad17 # Parent e809074cdc096b6d1b7aaa248eade40c3afbe13f mod_admin_adhoc: Remove unused initial values [luacheck] diff -r e809074cdc09 -r 9c9b198bab84 plugins/mod_admin_adhoc.lua --- a/plugins/mod_admin_adhoc.lua Tue May 01 20:47:52 2018 +0200 +++ b/plugins/mod_admin_adhoc.lua Tue May 01 20:51:37 2018 +0200 @@ -212,8 +212,8 @@ return generate_error_message(err); end local user, host, resource = jid.split(fields.accountjid); - local accountjid = ""; - local password = ""; + local accountjid; + local password; if host ~= module_host then return { status = "completed", error = { message = "Tried to get password for a user on " .. host .. " but command was sent to " .. module_host } }; elseif usermanager_user_exists(user, host) then