25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Add missing list_to_binary call

This commit is contained in:
Christophe Romain 2015-03-13 17:59:19 +01:00
parent 5b9635cc07
commit aa1250a3dd

View File

@ -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) ->