# HG changeset patch # User Kim Alvefur # Date 1525200472 -7200 # Node ID e809074cdc096b6d1b7aaa248eade40c3afbe13f # Parent bd88ca43d77af27739572e97d05a359709221506 mod_admin_adhoc: Split a long line (improves readability) [luacheck] diff -r bd88ca43d77a -r e809074cdc09 plugins/mod_admin_adhoc.lua --- a/plugins/mod_admin_adhoc.lua Tue May 01 20:45:22 2018 +0200 +++ b/plugins/mod_admin_adhoc.lua Tue May 01 20:47:52 2018 +0200 @@ -95,7 +95,12 @@ end local username, host, resource = jid.split(fields.accountjid); if module_host ~= host then - return { status = "completed", error = { message = "Trying to change the password of a user on " .. host .. " but command was sent to " .. module_host}}; + return { + status = "completed", + error = { + message = "Trying to change the password of a user on " .. host .. " but command was sent to " .. module_host + } + }; end if usermanager_user_exists(username, host) and usermanager_set_password(username, fields.password, host, nil) then return { status = "completed", info = "Password successfully changed" };