mod_carbons/mod_carbons.lua
changeset 606 a9249614b0fe
parent 605 5175f6d33470
child 617 3ca933c9d8ff
--- a/mod_carbons/mod_carbons.lua	Thu Feb 09 13:06:14 2012 +0100
+++ b/mod_carbons/mod_carbons.lua	Sun Feb 12 16:35:54 2012 +0100
@@ -103,7 +103,7 @@
 						:tag("forwarded", { xmlns = xmlns_forward })
 							:add_child(msg);
 					module:log("debug", "Sending carbon");
-					core_post_stanza(origin, fwd);
+					session.send(fwd);
 				end
 			end
 		end