projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990e725
)
util.stanza: Add __type to metatable
author
Matthew Wild
<mwild1@gmail.com>
Sun, 4 Oct 2009 13:03:08 +0000
(14:03 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 4 Oct 2009 13:03:08 +0000
(14:03 +0100)
util/stanza.lua
patch
|
blob
|
history
diff --git
a/util/stanza.lua
b/util/stanza.lua
index e02136f2dee4110b0dd93310f5083f8e071a8c5e..3bf7ea58a4bdcfa89b079da08f710f312bffe672 100644
(file)
--- a/
util/stanza.lua
+++ b/
util/stanza.lua
@@
-34,7
+34,7
@@
local log = require "util.logger".init("stanza");
module "stanza"
-stanza_mt = {};
+stanza_mt = {
__type = "stanza"
};
stanza_mt.__index = stanza_mt;
function stanza(name, attr)