mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Use list_to_existing_atom/1 wherever possible
This commit is contained in:
parent
31050f5b09
commit
e84391a6a9
5 changed files with 5 additions and 5 deletions
|
@ -194,7 +194,7 @@ code_change(_OldVsn, State, _Extra) ->
|
|||
%%%===================================================================
|
||||
get_mod() ->
|
||||
Backend = ejabberd_option:cluster_backend(),
|
||||
list_to_atom("ejabberd_cluster_" ++ atom_to_list(Backend)).
|
||||
list_to_existing_atom("ejabberd_cluster_" ++ atom_to_list(Backend)).
|
||||
|
||||
rpc_timeout() ->
|
||||
ejabberd_option:rpc_timeout().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue