--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/pubsub.lua Fri Mar 11 22:30:21 2011 +0100 @@ -0,0 +1,9 @@ +function riddim.plugins.pubsub(bot) + bot.stream:add_plugin("pubsub"); + bot.pubsub = bot.stream.pubsub; + + -- Maybe pubsub/event/ns/element or something? + bot.stream:hook("pubsub/event", function(event) + return bot:event("pubsub/event", event); + end); +end