Fix path conversion in mod_s2s_log
This commit is contained in:
parent
4106ae484c
commit
8a91598b04
|
@ -58,7 +58,7 @@ start(Host, Opts) ->
|
||||||
"s2s.log");
|
"s2s.log");
|
||||||
FN -> FN
|
FN -> FN
|
||||||
end,
|
end,
|
||||||
Filename = list_to_binary(FilenameStr),
|
Filename = iolist_to_binary(FilenameStr),
|
||||||
register(?PROCNAME,
|
register(?PROCNAME,
|
||||||
spawn(?MODULE, init, [#config{filename=Filename}])),
|
spawn(?MODULE, init, [#config{filename=Filename}])),
|
||||||
ejabberd_hooks:add(reopen_log_hook, ?MODULE, reopen_log, 55),
|
ejabberd_hooks:add(reopen_log_hook, ?MODULE, reopen_log, 55),
|
||||||
|
|
Loading…
Reference in New Issue