Mercurial > prosody-hg
comparison util/xmppstream.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 |
| parents | e5d00bf4a4d5 |
| children | 19e51d8f8947 |
comparison
equal
deleted
inserted
replaced
| 8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
|---|---|
| 23 local lxp_supports_bytecount = not not lxp.new({}).getcurrentbytecount; | 23 local lxp_supports_bytecount = not not lxp.new({}).getcurrentbytecount; |
| 24 | 24 |
| 25 local default_stanza_size_limit = 1024*1024*10; -- 10MB | 25 local default_stanza_size_limit = 1024*1024*10; -- 10MB |
| 26 | 26 |
| 27 local _ENV = nil; | 27 local _ENV = nil; |
| 28 -- luacheck: std none | |
| 28 | 29 |
| 29 local new_parser = lxp.new; | 30 local new_parser = lxp.new; |
| 30 | 31 |
| 31 local xml_namespace = { | 32 local xml_namespace = { |
| 32 ["http://www.w3.org/XML/1998/namespace\1lang"] = "xml:lang"; | 33 ["http://www.w3.org/XML/1998/namespace\1lang"] = "xml:lang"; |
