Software /
code /
prosody
Diff
plugins/mod_storage_xep0227.lua @ 6704:03afecdf2e3c
mod_storage_xep0227: Silence luacheck warnings
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 15 May 2015 15:32:39 +0200 |
parent | 6703:353a7d4dfdc2 |
child | 8350:3ca11d408382 |
line wrap: on
line diff
--- 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