Changeset

5106:ab338242e0da

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Sun, 26 Aug 2012 23:57:12 +0100
parents 5104:27b45d2c19fe (current diff) 5105:50688a2856f7 (diff)
children 5108:022123451e52
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Sun Aug 26 19:58:59 2012 +0100
+++ b/core/s2smanager.lua	Sun Aug 26 23:57:12 2012 +0100
@@ -96,7 +96,7 @@
 	else
 		local host_session = hosts[to];
 		session.send = function(stanza)
-			host_session.events.fire_event("route/remote", { from_host = to, to_host = from, stanza = stanza });
+			return host_session.events.fire_event("route/remote", { from_host = to, to_host = from, stanza = stanza });
 		end;
 
 		prosody.events.fire_event("s2sin-established", event_data);