diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-04-04 18:22:59 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-04-04 18:22:59 +0200 |
commit | 094f5868110ce692ad5d864d698bf7b01290060f (patch) | |
tree | 802d428735c43bdcc694591af4b4b6cd20046749 /src | |
parent | Improve mod_multicast (diff) |
gen_mod: Remove frontend process support
ejabberd doesn't support frontend processes anymore.
Diffstat (limited to 'src')
-rw-r--r-- | src/gen_mod.erl | 4 |
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>>, |