mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Do not bind unused tail from 675cc3e
This commit is contained in:
parent
675cc3e0ea
commit
8cb71255eb
@ -149,7 +149,7 @@ get_module_file(App, Mod) ->
|
||||
filename:join([Dir, BaseName ++ ".beam"])
|
||||
end.
|
||||
|
||||
module_name([Dir, _, <<H,T/binary>> | _] = Mod) when H >= 65, H =< 90 ->
|
||||
module_name([Dir, _, <<H,_/binary>> | _] = Mod) when H >= 65, H =< 90 ->
|
||||
Module = str:join([elixir_name(M) || M<-tl(Mod)], <<>>),
|
||||
Prefix = case elixir_name(Dir) of
|
||||
<<"Ejabberd">> -> <<"Elixir.Ejabberd.">>;
|
||||
|
Loading…
Reference in New Issue
Block a user