# HG changeset patch # User James Callahan # Date 1324251628 -39600 # Node ID 928fe4d91333c64be39770674dd68db2bddc998f # Parent bf2ad6d6c778fea59b7d51264c5d1b8ad95cec6b# Parent 59e80326f2b3c93244fa4d238c86fcdf934aa09b mod_storage_mongodb: (un)lock globals around require; only auth if we need to diff -r bf2ad6d6c778 -r 928fe4d91333 mod_carbons/mod_carbons.lua --- a/mod_carbons/mod_carbons.lua Mon Dec 19 10:36:50 2011 +1100 +++ b/mod_carbons/mod_carbons.lua Mon Dec 19 10:40:28 2011 +1100 @@ -82,7 +82,7 @@ } :tag("forwarded", { xmlns = xmlns_forward }) :tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up() - :add_child(msg); + :add_child(msg); core_post_stanza(origin, fwd); end end @@ -97,7 +97,7 @@ -- Stanzas sent by local clients module:hook("pre-message/bare", c2s_message_handler, 1); module:hook("pre-message/full", c2s_message_handler, 1); --- Stanszas to local clients +-- Stanzas to local clients module:hook("message/bare", message_handler, 1); module:hook("message/full", message_handler, 1);