--- a/examples/xep0077.lua Wed Feb 25 22:58:34 2009 +0200
+++ b/examples/xep0077.lua Thu Feb 26 01:05:02 2009 +0200
@@ -151,7 +151,7 @@
who = full_current_jid ()
end
register_to ( who )
- end, 0x2 )
+ end, 'jid' )
main.command ( 'cancel',
function ( args )
@@ -162,7 +162,7 @@
who = full_current_jid ()
end
unregister_from ( who )
- end, 0x2 )
+ end, '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."