From 28551ac8580653cc7c8ce14977d438a19fd49421 Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Tue, 1 May 2018 20:47:52 +0200
Subject: mod_admin_adhoc: Split a long line (improves readability) [luacheck]

---
 plugins/mod_admin_adhoc.lua | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua
index 39cc0165..9c9ce284 100644
--- a/plugins/mod_admin_adhoc.lua
+++ b/plugins/mod_admin_adhoc.lua
@@ -95,7 +95,12 @@ local change_user_password_command_handler = adhoc_simple(change_user_password_l
 	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" };
-- 
cgit v1.2.3