aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-03 13:28:33 +0100
committerKim Alvefur <zash@zash.se>2012-03-03 13:28:33 +0100
commitd0424f6f4e316f435f8e4db6f4906964c7d8f31f (patch)
tree29a3672c606d345e51f725e420ae65f7fa392d98 /plugins/mod_dialback.lua
parent9af8ea363badf58a8d59e475035a4def10dd42c9 (diff)
downloadprosody-d0424f6f4e316f435f8e4db6f4906964c7d8f31f.tar.gz
prosody-d0424f6f4e316f435f8e4db6f4906964c7d8f31f.zip
mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index 5cb59fef..2c2dc795 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -160,7 +160,7 @@ module:hook_stanza(xmlns_stream, "features", function (origin, stanza)
end
end, 100);
-module:hook("s2s-no-stream-features", function (event)
+module:hook("s2s-authenticate-legacy", function (event)
initiate_dialback(event.origin);
return true;
end, 100);