# HG changeset patch # User Kim Alvefur # Date 1512473413 -3600 # Node ID e9c7ac97cb52c7dd07dd2014c44d4aa35e259345 # Parent 20c5ace92b195d93da3e650e58a7a8ecdce19e9c mod_dialback: Use non-deprecated API diff -r 20c5ace92b19 -r e9c7ac97cb52 plugins/mod_dialback.lua --- a/plugins/mod_dialback.lua Tue Dec 05 12:26:57 2017 +0100 +++ b/plugins/mod_dialback.lua Tue Dec 05 12:30:13 2017 +0100 @@ -190,7 +190,7 @@ 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);