--- a/examples/xep0146.lua Mon Mar 16 06:12:55 2009 +0200
+++ b/examples/xep0146.lua Mon Mar 16 18:54:16 2009 +0200
@@ -41,7 +41,6 @@
main.command ( 'remote',
function ( args )
- args = main.parse_args ( args )
local who
if args.t then
who = args.t
@@ -69,7 +68,7 @@
elseif action then
remote_command ( who, action )
end
- end, 'jid' )
+ end, true, 'jid' )
commands_help['remote'] = "[-t target_jid] [remote_command]\n\nPrints list of available remote command or requests execution of specified command."