diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/xmppstream.lua | 3 |
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 = {}; |