diff -r c0235605d6d5 -r 8202cdfb99b4 plugins/pubsub2room.lua --- a/plugins/pubsub2room.lua Sat May 25 21:46:21 2013 +0200 +++ b/plugins/pubsub2room.lua Sat May 25 23:21:30 2013 +0200 @@ -72,7 +72,7 @@ local jid = bare_jid(bot.stream.jid); for hostnode in pairs(config) do local host, node = hostnode:match("^([^#]+)#(.*)"); - bot.stream.pubsub(host, node):subscribe(jid, print); + bot.stream.pubsub(host, node):subscribe(jid); end end); end