Fix path conversion in mod_s2s_log

This commit is contained in:
Paweł Chmielowski 2023-04-27 13:28:56 +02:00
parent 4106ae484c
commit 8a91598b04
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ start(Host, Opts) ->
"s2s.log");
FN -> FN
end,
Filename = list_to_binary(FilenameStr),
Filename = iolist_to_binary(FilenameStr),
register(?PROCNAME,
spawn(?MODULE, init, [#config{filename=Filename}])),
ejabberd_hooks:add(reopen_log_hook, ?MODULE, reopen_log, 55),