Comparison

util/stanza.lua @ 8555:4f0f5b49bb03

vairious: Add annotation when an empty environment is set [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:06:26 +0100
parent 8520:e959bc51de75
child 8599:62bfc85a53c8
comparison
equal deleted inserted replaced
8554:12a68e0d0ecf 8555:4f0f5b49bb03
35 end 35 end
36 36
37 local xmlns_stanzas = "urn:ietf:params:xml:ns:xmpp-stanzas"; 37 local xmlns_stanzas = "urn:ietf:params:xml:ns:xmpp-stanzas";
38 38
39 local _ENV = nil; 39 local _ENV = nil;
40 -- luacheck: std none
40 41
41 local stanza_mt = { __name = "stanza" }; 42 local stanza_mt = { __name = "stanza" };
42 stanza_mt.__index = stanza_mt; 43 stanza_mt.__index = stanza_mt;
43 44
44 local function new_stanza(name, attr, namespaces) 45 local function new_stanza(name, attr, namespaces)