diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-15 15:32:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-15 15:32:39 +0200 |
commit | 0ee5b781b852a955144f4c04f732ae0de19ed174 (patch) | |
tree | dc09be1d32ea694002b7f78aeecc5d10d58c6b99 | |
parent | 0eb8dc6b654a64602579e8c6024db3eaa4bd4009 (diff) | |
download | prosody-0ee5b781b852a955144f4c04f732ae0de19ed174.tar.gz prosody-0ee5b781b852a955144f4c04f732ae0de19ed174.zip |
mod_storage_xep0227: Silence luacheck warnings
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 6 |
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 |