aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-05 12:30:13 +0100
committerKim Alvefur <zash@zash.se>2017-12-05 12:30:13 +0100
commit13a4748074eac34ccdf05b936edc6ac12b8311c6 (patch)
tree85d39cd578b67754b96a2713342ba8958c6949ff
parenta4c470cbede5c8c5b3c7f74c04e4e727ab2b72e6 (diff)
downloadprosody-13a4748074eac34ccdf05b936edc6ac12b8311c6.tar.gz
prosody-13a4748074eac34ccdf05b936edc6ac12b8311c6.zip
mod_dialback: Use non-deprecated API
-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 e16c9e8b..cbff7f67 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -190,7 +190,7 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
end
end);
-module:hook_stanza(xmlns_stream, "features", function (origin, stanza)
+module:hook_tag(xmlns_stream, "features", function (origin, stanza) -- luacheck: ignore 212/stanza
if not origin.external_auth or origin.external_auth == "failed" then
module:log("debug", "Initiating dialback...");
initiate_dialback(origin);