--- 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