diff mod_carbons/mod_carbons.lua @ 510:59e80326f2b3

mod_carbons: Fix a typo and unindent a line.
author Kim Alvefur <zash@zash.se>
date Wed, 14 Dec 2011 18:42:55 +0100
parents 0cef5be669de
children 6fa8436f8ee3
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua	Wed Dec 14 12:56:07 2011 +1100
+++ b/mod_carbons/mod_carbons.lua	Wed Dec 14 18:42:55 2011 +0100
@@ -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);