Mercurial > prosody-hg
comparison plugins/mod_dialback.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 |
| parents | 9a5de6509aa8 |
| children | 93a84314c296 |
comparison
equal
deleted
inserted
replaced
| 4584:9a5de6509aa8 | 4586:4d63852910ff |
|---|---|
| 158 initiate_dialback(origin); | 158 initiate_dialback(origin); |
| 159 return true; | 159 return true; |
| 160 end | 160 end |
| 161 end, 100); | 161 end, 100); |
| 162 | 162 |
| 163 module:hook("s2s-no-stream-features", function (event) | 163 module:hook("s2s-authenticate-legacy", function (event) |
| 164 initiate_dialback(event.origin); | 164 initiate_dialback(event.origin); |
| 165 return true; | 165 return true; |
| 166 end, 100); | 166 end, 100); |
| 167 | 167 |
| 168 -- Offer dialback to incoming hosts | 168 -- Offer dialback to incoming hosts |
