Comparison

plugins/s2s/mod_s2s.lua @ 4586:4d63852910ff

mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy
author Kim Alvefur <zash@zash.se>
date Sat, 03 Mar 2012 13:28:33 +0100
parent 4584:9a5de6509aa8
child 4587:93a84314c296
comparison
equal deleted inserted replaced
4584:9a5de6509aa8 4586:4d63852910ff
231 231
232 -- If server is pre-1.0, don't wait for features, just do dialback 232 -- If server is pre-1.0, don't wait for features, just do dialback
233 if session.version < 1.0 then 233 if session.version < 1.0 then
234 if not session.dialback_verifying then 234 if not session.dialback_verifying then
235 log("debug", "Initiating dialback..."); 235 log("debug", "Initiating dialback...");
236 hosts[session.from_host].events.fire_event("s2s-no-stream-features", { origin = session }); 236 hosts[session.from_host].events.fire_event("s2s-authenticate-legacy", { origin = session });
237 else 237 else
238 s2s_mark_connected(session); 238 s2s_mark_connected(session);
239 end 239 end
240 end 240 end
241 end 241 end