diff options
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 78f9ed9c..e49c3f93 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -384,10 +384,13 @@ function streamopened(session, attr) end session.send_buffer = nil; - if not session.dialback_verifying then - initiate_dialback(session); - else - mark_connected(session); + -- 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 + initiate_dialback(session); + else + mark_connected(session); + end end end |