aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-21 21:44:42 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-21 21:44:42 +0000
commit6e7079089969890627b7e52f856cfd57a8eff8fb (patch)
treec1a609138237b6c1ce0c591875461bcceab93abb /net
parente49d269b88493dd88d8bdc33a27921825a64a90f (diff)
downloadprosody-6e7079089969890627b7e52f856cfd57a8eff8fb.tar.gz
prosody-6e7079089969890627b7e52f856cfd57a8eff8fb.zip
net.xmppserver_listener: Set default namespace to jabber:server
Diffstat (limited to 'net')
-rw-r--r--net/xmppserver_listener.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index e7caac27..66fa2f95 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -17,7 +17,9 @@ local s2s_streamopened = require "core.s2smanager".streamopened;
local s2s_streamclosed = require "core.s2smanager".streamclosed;
local s2s_destroy_session = require "core.s2smanager".destroy_session;
local s2s_attempt_connect = require "core.s2smanager".attempt_connection;
-local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream", streamopened = s2s_streamopened, streamclosed = s2s_streamclosed, handlestanza = core_process_stanza };
+local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream",
+ default_ns = "jabber:server",
+ streamopened = s2s_streamopened, streamclosed = s2s_streamclosed, handlestanza = core_process_stanza };
function stream_callbacks.error(session, error, data)
if error == "no-stream" then