From c7d967a2b58bcee4e6574b441e1cd09d510f4fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Tue, 5 Nov 2024 17:10:09 +0100 Subject: [PATCH] Fix dialyzer issue --- src/mod_privilege.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_privilege.erl b/src/mod_privilege.erl index 85eaaecbc..02bac16db 100644 --- a/src/mod_privilege.erl +++ b/src/mod_privilege.erl @@ -313,9 +313,9 @@ component_send_packet({#iq{from = From, drop; {_, {error, roster_query, _Err}} -> IQ; - {_, {error, Type, _Err}} -> + {_, {error, ErrType, _Err}} -> ?INFO_MSG("IQ not forwarded: Component tried to send not valid IQ stanza: ~p.", - [Type]), + [ErrType]), drop end, {Result, State};