aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-07 19:12:50 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-07 19:12:50 +0000
commitd3e7e2f1a7007f79edd38daf0adcf63e4fe950e3 (patch)
tree745ea0daf507a09d4aa4abd84ab2a1702a636e11
parent1fedb0c64940adc497f12338abe1e0a60d7958c6 (diff)
downloadprosody-d3e7e2f1a7007f79edd38daf0adcf63e4fe950e3.tar.gz
prosody-d3e7e2f1a7007f79edd38daf0adcf63e4fe950e3.zip
Typo in variable name in last commit
-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 ce45ab92..e54445b0 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 = streamcallbacks.handlestanza;
+ session.stanza_dispatch = stream_callbacks.handlestanza;
end
if data then
session.data(conn, data);
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index ffc0b24b..4d2840e7 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 = streamcallbacks.handlestanza;
+ session.stanza_dispatch = stream_callbacks.handlestanza;
end
if data then
session.data(conn, data);