# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1323528355 -3600
# Node ID ffb27e62a11e22c86d63ac064adb238c0358336d
# Parent  598e9f93de782ef7bdf41dc17e805f8552b873f5
plugins.pubsub: Fix typo

diff -r 598e9f93de78 -r ffb27e62a11e plugins/pubsub.lua
--- 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