Software /
code /
prosody
Comparison
util/stanza.lua @ 2955:f807dc244a5b
util.stanza: Fixed a nil global access.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 01 Apr 2010 19:08:25 +0500 |
parent | 2923:b7049746bd29 |
child | 2956:15a145a67044 |
comparison
equal
deleted
inserted
replaced
2950:0250fba6be72 | 2955:f807dc244a5b |
---|---|
36 else | 36 else |
37 do_pretty_printing = nil; | 37 do_pretty_printing = nil; |
38 end | 38 end |
39 end | 39 end |
40 | 40 |
41 local xmlns_stanzas = "urn:ietf:params:xml:ns:xmpp-stanzas"; | |
42 | |
41 module "stanza" | 43 module "stanza" |
42 | 44 |
43 stanza_mt = { __type = "stanza" }; | 45 stanza_mt = { __type = "stanza" }; |
44 stanza_mt.__index = stanza_mt; | 46 stanza_mt.__index = stanza_mt; |
45 | 47 |