Changeset

249:00891a675634

plugins.pep: Use the new PubSub api.
author Kim Alvefur <zash@zash.se>
date Mon, 28 Nov 2011 17:16:04 +0100
parents 248:c4b55b0dc6ba
children 250:a5ac643a7fd6
files plugins/pep.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/pep.lua	Mon Nov 28 17:15:41 2011 +0100
+++ b/plugins/pep.lua	Mon Nov 28 17:16:04 2011 +0100
@@ -27,6 +27,6 @@
 	end
 	
 	function stream:publish_pep(item, node)
-		return stream.pubsub:publish(nil, node or item.attr.xmlns, nil, item)
+		return stream.pubsub:service(nil):node(node or item.attr.xmlns):publish(nil, nil, item)
 	end
 end