mod_admin_adhoc: Support for reloading multiple modules
[prosody.git] / util / xmppstream.lua
index 29095e41a80e0e876c38769afa32d890580ef1b9..0a1bf7acfd24307d8e27982eefd2e2b224940a73 100644 (file)
@@ -14,7 +14,7 @@ local tostring = tostring;
 local t_insert = table.insert;
 local t_concat = table.concat;
 
-local default_log = require "util.logger".init("xmlhandlers");
+local default_log = require "util.logger".init("xmppstream");
 
 local error = error;
 
@@ -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 = {};