# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1431696759 -7200
# Node ID 03afecdf2e3c8f0e2b6d628f09e9574b0a17baf2
# Parent  353a7d4dfdc268a5fc2a33cda233c10ebf16951a
mod_storage_xep0227: Silence luacheck warnings

diff -r 353a7d4dfdc2 -r 03afecdf2e3c plugins/mod_storage_xep0227.lua
--- a/plugins/mod_storage_xep0227.lua	Fri May 15 15:32:21 2015 +0200
+++ b/plugins/mod_storage_xep0227.lua	Fri May 15 15:32:39 2015 +0200
@@ -71,7 +71,7 @@
 
 handlers.accounts = {
 	get = function(self, user)
-		local user = getUserElement(getXml(user, self.host));
+		user = getUserElement(getXml(user, self.host));
 		if user and user.attr.password then
 			return { password = user.attr.password };
 		elseif user then
@@ -104,7 +104,7 @@
 };
 handlers.vcard = {
 	get = function(self, user)
-		local user = getUserElement(getXml(user, self.host));
+		user = getUserElement(getXml(user, self.host));
 		if user then
 			local vcard = user:get_child("vCard", 'vcard-temp');
 			if vcard then
@@ -133,7 +133,7 @@
 };
 handlers.private = {
 	get = function(self, user)
-		local user = getUserElement(getXml(user, self.host));
+		user = getUserElement(getXml(user, self.host));
 		if user then
 			local private = user:get_child("query", "jabber:iq:private");
 			if private then