examples/xep0047.lua
changeset 34 8206d7cb1447
parent 27 92b254b64360
child 38 1f141d9a081a
--- a/examples/xep0047.lua	Mon Mar 16 06:12:55 2009 +0200
+++ b/examples/xep0047.lua	Mon Mar 16 18:54:16 2009 +0200
@@ -167,7 +167,6 @@
 
 main.command ( 'ibb',
 	function ( args )
-		args = main.parse_args ( args )
 		local action = args[1]
 		if action == 'send' then
 			local who
@@ -201,7 +200,7 @@
 				print ( 'No streams' )
 			end
 		end
-	end, { "send", "accept", "reject", "del" } )
+	end, true, { "send", "accept", "reject", "del" } )
 
 commands_help['ibb'] = "[[-t target_jid] send filename | accept sid filename | reject sid filename | del sid]\n\nRequests, accepts or rejects sending file via in-band bytestream."