Software /
code /
prosody
Comparison
plugins/mod_dialback.lua @ 5341:760c22c822be
mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello!
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 10 Mar 2013 11:25:05 +0000 |
parent | 5113:3393cab2dd6b |
child | 5362:612467e263af |
comparison
equal
deleted
inserted
replaced
5340:51c9959c21c0 | 5341:760c22c822be |
---|---|
168 initiate_dialback(origin); | 168 initiate_dialback(origin); |
169 return true; | 169 return true; |
170 end | 170 end |
171 end, 100); | 171 end, 100); |
172 | 172 |
173 module:hook("s2s-authenticate-legacy", function (event) | 173 module:hook("s2sout-authenticate-legacy", function (event) |
174 module:log("debug", "Initiating dialback..."); | 174 module:log("debug", "Initiating dialback..."); |
175 initiate_dialback(event.origin); | 175 initiate_dialback(event.origin); |
176 return true; | 176 return true; |
177 end, 100); | 177 end, 100); |
178 | 178 |