--- a/examples/xep0077.lua Mon Mar 16 06:12:55 2009 +0200
+++ b/examples/xep0077.lua Mon Mar 16 18:54:16 2009 +0200
@@ -162,7 +162,7 @@
who = main.full_jid ()
end
register_to ( who )
- end, 'jid' )
+ end, false, 'jid' )
main.command ( 'cancel',
function ( args )
@@ -173,7 +173,7 @@
who = main.full_jid ()
end
unregister_from ( who )
- end, 'jid' )
+ end, false, 'jid' )
commands_help['register'] = "[jid]\n\nSends registration request to jid (or current buddy). You, probably, then will need to fill and send some form."
commands_help['cancel'] = "[jid]\n\nSends registration cancellation request to jid (or current buddy). May require a form filling."