aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-07 19:19:05 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-07 19:19:05 +0000
commitc662c733741d93701b615505b883883b6c2a6e93 (patch)
treedbbc0a728c402b9fe9825baef265b5d94e7762ca /util
parent673d2cd2a3d49e5aa94589d8a9dbc9555a45f9b7 (diff)
downloadprosody-c662c733741d93701b615505b883883b6c2a6e93.tar.gz
prosody-c662c733741d93701b615505b883883b6c2a6e93.zip
util.xmppstream: Expose ns_separator and ns_pattern
Diffstat (limited to 'util')
-rw-r--r--util/xmppstream.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua
index 90580ff2..0a1bf7ac 100644
--- a/util/xmppstream.lua
+++ b/util/xmppstream.lua
@@ -31,6 +31,9 @@ local xmlns_streams = "http://etherx.jabber.org/streams";
local ns_separator = "\1";
local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$";
+_M.ns_separator = ns_separator;
+_M.ns_pattern = ns_pattern;
+
function new_sax_handlers(session, stream_callbacks)
local xml_handlers = {};