Changeset

8458:e9c7ac97cb52

mod_dialback: Use non-deprecated API
author Kim Alvefur <zash@zash.se>
date Tue, 05 Dec 2017 12:30:13 +0100
parents 8457:20c5ace92b19
children 8459:84c117cdd048
files plugins/mod_dialback.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);