aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-07 22:55:18 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-07 22:55:18 +0000
commit0100a7083142a2350b3a5b7f3d11ad7f13eb8b5c (patch)
tree78f1ea748783021331b0f6d5767e81c9e1152169 /net
parentca2df50f6b13b57f28b315b022e1b7d2558ea898 (diff)
downloadprosody-0100a7083142a2350b3a5b7f3d11ad7f13eb8b5c.tar.gz
prosody-0100a7083142a2350b3a5b7f3d11ad7f13eb8b5c.zip
stanza_dispatch != dispatch_stanza
Diffstat (limited to 'net')
-rw-r--r--net/xmppclient_listener.lua2
-rw-r--r--net/xmppserver_listener.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index e54445b0..a130a0c1 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -126,7 +126,7 @@ function xmppclient.listener(conn, data)
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);
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index 4d2840e7..b8198beb 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -129,7 +129,7 @@ function xmppserver.listener(conn, data)
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);