plugins.pubsub2room: Remove old debug print

Sat, 25 May 2013 23:21:30 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 25 May 2013 23:21:30 +0200
changeset 104
8202cdfb99b4
parent 103
c0235605d6d5
child 105
4234c8789cc6

plugins.pubsub2room: Remove old debug print

plugins/pubsub2room.lua file | annotate | diff | comparison | revisions
--- 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

mercurial