diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 04:30:17 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-12 04:30:17 +0500 |
commit | 1445574fd32de84b735e4d324ad9a6864b26ba57 (patch) | |
tree | 3b5e3d9ad75f9fd14a2efdaf9c52db4ee6ea288a /core | |
parent | 98da04140180b77125ad1fdecb0d47f30c9d30fb (diff) | |
download | prosody-1445574fd32de84b735e4d324ad9a6864b26ba57.tar.gz prosody-1445574fd32de84b735e4d324ad9a6864b26ba57.zip |
s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency.
Diffstat (limited to 'core')
-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 d8ceb4ef..aba99ee0 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -389,7 +389,7 @@ function streamopened(session, attr) local features = st.stanza("stream:features"); if session.to_host then - hosts[session.to_host].events.fire_event("s2s-stream-features", { session = session, features = features }); + hosts[session.to_host].events.fire_event("s2s-stream-features", { origin = session, features = features }); else (session.log or log)("warn", "No 'to' on stream header from %s means we can't offer any features", session.from_host or "unknown host"); end |