Changeset

254:616cc6a5fd30

plugins.pep: Use the new PubSub api.
author Kim Alvefur <zash@zash.se>
date Mon, 28 Nov 2011 17:16:04 +0100
parents 253:aa55793c523e
children 255:be126fe7c4e7
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