From 13a4748074eac34ccdf05b936edc6ac12b8311c6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 5 Dec 2017 12:30:13 +0100 Subject: mod_dialback: Use non-deprecated API --- plugins/mod_dialback.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3