Software /
code /
verse
Changeset
264:ffb27e62a11e
plugins.pubsub: Fix typo
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 10 Dec 2011 15:45:55 +0100 |
parents | 263:598e9f93de78 |
children | 265:2a2326a8f9e8 |
files | plugins/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/pubsub.lua Sat Dec 10 15:21:09 2011 +0100 +++ b/plugins/pubsub.lua Sat Dec 10 15:45:55 2011 +0100 @@ -62,7 +62,7 @@ local st = verse.iq{ type = iq_type or "get", to = to } :tag("pubsub", { xmlns = ns or xmlns_pubsub }) -- ns would be ..#owner if op then st:tag(op, { node = node, jid = jid }); end - if id then st:tag("item", { id = item_id ~= true and item_id or nil }); end + if item_id then st:tag("item", { id = item_id ~= true and item_id or nil }); end return st; end