examples/xep0077.lua
changeset 34 8206d7cb1447
parent 25 38c68c285e41
--- 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."