Sat, 10 Dec 2011 15:45:55 +0100
plugins.pubsub: Fix typo
| plugins/pubsub.lua | file | annotate | diff | revisions |
1.1 --- a/plugins/pubsub.lua Sat Dec 10 15:21:09 2011 +0100 1.2 +++ b/plugins/pubsub.lua Sat Dec 10 15:45:55 2011 +0100 1.3 @@ -62,7 +62,7 @@ 1.4 local st = verse.iq{ type = iq_type or "get", to = to } 1.5 :tag("pubsub", { xmlns = ns or xmlns_pubsub }) -- ns would be ..#owner 1.6 if op then st:tag(op, { node = node, jid = jid }); end 1.7 - if id then st:tag("item", { id = item_id ~= true and item_id or nil }); end 1.8 + if item_id then st:tag("item", { id = item_id ~= true and item_id or nil }); end 1.9 return st; 1.10 end 1.11