Changeset

604:b6a31e97d018

stanza_dispatch != dispatch_stanza
author Matthew Wild <mwild1@gmail.com>
date Sun, 07 Dec 2008 22:55:18 +0000
parents 603:423fd24fff54
children 605:8458be0941e7
files net/xmppclient_listener.lua net/xmppserver_listener.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/xmppclient_listener.lua	Mon Dec 08 03:27:02 2008 +0500
+++ b/net/xmppclient_listener.lua	Sun Dec 07 22:55:18 2008 +0000
@@ -126,7 +126,7 @@
 		
 		session_reset_stream(session); -- Initialise, ready for use
 		
-		session.stanza_dispatch = stream_callbacks.handlestanza;
+		session.dispatch_stanza = stream_callbacks.handlestanza;
 	end
 	if data then
 		session.data(conn, data);
--- a/net/xmppserver_listener.lua	Mon Dec 08 03:27:02 2008 +0500
+++ b/net/xmppserver_listener.lua	Sun Dec 07 22:55:18 2008 +0000
@@ -129,7 +129,7 @@
 		
 		session_reset_stream(session); -- Initialise, ready for use
 		
-		session.stanza_dispatch = stream_callbacks.handlestanza;
+		session.dispatch_stanza = stream_callbacks.handlestanza;
 	end
 	if data then
 		session.data(conn, data);