aboutsummaryrefslogtreecommitdiff
path: root/src/gen_mod.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_mod.erl')
-rw-r--r--src/gen_mod.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gen_mod.erl b/src/gen_mod.erl
index 1ebaa17c3..aaccee3c6 100644
--- a/src/gen_mod.erl
+++ b/src/gen_mod.erl
@@ -833,9 +833,7 @@ get_hosts(Opts, Prefix) ->
Hosts
end.
--spec get_module_proc(binary(), {frontend, atom()} | atom()) -> atom().
-get_module_proc(Host, {frontend, Base}) ->
- get_module_proc(<<"frontend_", Host/binary>>, Base);
+-spec get_module_proc(binary(), atom()) -> atom().
get_module_proc(Host, Base) ->
binary_to_atom(
<<(erlang:atom_to_binary(Base, latin1))/binary, "_", Host/binary>>,