mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Add missing list_to_binary call
This commit is contained in:
parent
5b9635cc07
commit
aa1250a3dd
@ -195,7 +195,7 @@ upgrade(Package) when is_binary(Package) ->
|
||||
install(Package).
|
||||
|
||||
add_sources(Path) when is_list(Path) ->
|
||||
add_sources(module_name(Path), Path).
|
||||
add_sources(iolist_to_binary(module_name(Path)), Path).
|
||||
add_sources(_, "") ->
|
||||
{error, no_url};
|
||||
add_sources(Module, Path) when is_atom(Module), is_list(Path) ->
|
||||
|
Loading…
Reference in New Issue
Block a user