Changeset

511:928fe4d91333

mod_storage_mongodb: (un)lock globals around require; only auth if we need to
author James Callahan <james@chatid.com>
date Mon, 19 Dec 2011 10:40:28 +1100
parents 509:bf2ad6d6c778 (current diff) 510:59e80326f2b3 (diff)
children 512:c819365ac6ab
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);