aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-03 18:27:32 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-03 18:27:32 +0000
commit58e21b71744734e3e69fcaa9043f9e195889d706 (patch)
tree65abf0a8b4428276a7be51803f02f176b368530a /plugins/s2s/mod_s2s.lua
parent66cfee9b84e3d6c947e238574006fc3fbf586915 (diff)
parent58900081f68e8db61675febc4f9c4078e44d384a (diff)
downloadprosody-58e21b71744734e3e69fcaa9043f9e195889d706.tar.gz
prosody-58e21b71744734e3e69fcaa9043f9e195889d706.zip
Merge with Zash
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r--plugins/s2s/mod_s2s.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index 9ab2ee0a..407a7e04 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -232,8 +232,7 @@ function stream_callbacks.streamopened(session, attr)
-- If server is pre-1.0, don't wait for features, just do dialback
if session.version < 1.0 then
if not session.dialback_verifying then
- log("debug", "Initiating dialback...");
- hosts[session.from_host].events.fire_event("s2s-no-stream-features", { origin = session });
+ hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session });
else
s2s_mark_connected(session);
end