Changeset

48:abccad4b8559

verse.client: Update stream_callbacks format for new xmlhandlers API (thanks to Bill Clark for the patch)
author Matthew Wild <mwild1@gmail.com>
date Wed, 17 Feb 2010 00:24:54 +0000
parents 47:3ebffb4fc48c
children 49:9c10ff584e87
files client.lua
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client.lua	Mon Jan 25 22:07:25 2010 +0000
+++ b/client.lua	Wed Feb 17 00:24:54 2010 +0000
@@ -13,8 +13,10 @@
 
 local xmlns_stream = "http://etherx.jabber.org/streams";
 
-local stream_callbacks = { stream_tag = xmlns_stream.."\1stream", 
-		default_ns = "jabber:client" };
+local stream_callbacks = {
+	stream_ns = xmlns_stream,
+	stream_tag = "stream",
+	 default_ns = "jabber:client" };
 	
 function stream_callbacks.streamopened(stream, attr)
 	if not stream:event("opened") then