projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f92dd9
)
s2smanager: session.send(): Return the result of send_to_host() (and incidentally...
author
Matthew Wild
<mwild1@gmail.com>
Wed, 22 Dec 2010 20:39:30 +0000
(20:39 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 22 Dec 2010 20:39:30 +0000
(20:39 +0000)
core/s2smanager.lua
patch
|
blob
|
history
diff --git
a/core/s2smanager.lua
b/core/s2smanager.lua
index 4e6dba5baaa26b343c1ae803eee0f7e2e2f5c64b..b8163efa8df63d12b6e08936f30f27aafb68067a 100644
(file)
--- a/
core/s2smanager.lua
+++ b/
core/s2smanager.lua
@@
-518,7
+518,7
@@
function mark_connected(session)
session.log("info", session.direction.." s2s connection "..from.."->"..to.." complete");
local send_to_host = send_to_host;
- function session.send(data) send_to_host(to, from, data); end
+ function session.send(data)
return
send_to_host(to, from, data); end
local event_data = { session = session };
if session.type == "s2sout" then