aboutsummaryrefslogtreecommitdiffstats
path: root/net/xmppclient_listener.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-16 02:33:08 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-16 02:33:08 +0000
commit85e074d8b858f72fb7d22079d0d47720e20b40fe (patch)
treeb8d7565ffedf9efb7ba116317f92f9eb044e7ce7 /net/xmppclient_listener.lua
parent1fb0452d0cd7d6a9b534c58477447bd672cc76cd (diff)
downloadprosody-85e074d8b858f72fb7d22079d0d47720e20b40fe.tar.gz
prosody-85e074d8b858f72fb7d22079d0d47720e20b40fe.zip
Change xmlhandlers to match stream opening tag with ns+tag
Diffstat (limited to 'net/xmppclient_listener.lua')
-rw-r--r--net/xmppclient_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index 50b8aa93..357516e9 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -36,7 +36,7 @@ local sm_streamopened = sessionmanager.streamopened;
local sm_streamclosed = sessionmanager.streamclosed;
local st = stanza;
-local stream_callbacks = { ns = "http://etherx.jabber.org/streams", streamopened = sm_streamopened, streamclosed = sm_streamclosed, handlestanza = core_process_stanza };
+local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream", streamopened = sm_streamopened, streamclosed = sm_streamclosed, handlestanza = core_process_stanza };
function stream_callbacks.error(session, error, data)
if error == "no-stream" then