Software /
code /
prosody
Changeset
5105:50688a2856f7
s2smanager: missing return on session.send function.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Sun, 26 Aug 2012 22:54:10 +0000 |
parents | 5103:5a1488369c35 |
children | 5106:ab338242e0da 5107:6ac790efecd3 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Sun Aug 26 20:53:40 2012 +0200 +++ b/core/s2smanager.lua Sun Aug 26 22:54:10 2012 +0000 @@ -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);