aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-15 15:32:39 +0200
committerKim Alvefur <zash@zash.se>2015-05-15 15:32:39 +0200
commit0ee5b781b852a955144f4c04f732ae0de19ed174 (patch)
treedc09be1d32ea694002b7f78aeecc5d10d58c6b99 /plugins
parent0eb8dc6b654a64602579e8c6024db3eaa4bd4009 (diff)
downloadprosody-0ee5b781b852a955144f4c04f732ae0de19ed174.tar.gz
prosody-0ee5b781b852a955144f4c04f732ae0de19ed174.zip
mod_storage_xep0227: Silence luacheck warnings
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_xep0227.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index 4510f5d1..ef227ca3 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -71,7 +71,7 @@ local extended = "http://prosody.im/protocol/extended-xep0227\1";
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.accounts = {
};
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.vcard = {
};
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