diff options
author | Marco Cirillo <maranda@lightwitch.org> | 2012-08-26 22:54:10 +0000 |
---|---|---|
committer | Marco Cirillo <maranda@lightwitch.org> | 2012-08-26 22:54:10 +0000 |
commit | c6ddf7f4ee8c5ab170f454c1b57b708897c79d2e (patch) | |
tree | 6b7bee68e622b7780e0ad626ffd50709acb3fb99 /core/s2smanager.lua | |
parent | 4cb8031b57dafb7702238a2b4a6268a20fb7c669 (diff) | |
download | prosody-c6ddf7f4ee8c5ab170f454c1b57b708897c79d2e.tar.gz prosody-c6ddf7f4ee8c5ab170f454c1b57b708897c79d2e.zip |
s2smanager: missing return on session.send function.
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 76dde9d2..4c018713 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -96,7 +96,7 @@ function mark_connected(session) 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); |