Avoid erroneous usage of ?MODULE macro

This commit is contained in:
Evgeniy Khramtsov 2017-05-18 12:09:28 +03:00
parent b0b7ac101c
commit 97bb1250ba
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ use_cache(Host, Table) ->
case mnesia:table_info(Table, storage_type) of
disc_only_copies ->
gen_mod:get_module_opt(
Host, ?MODULE, use_cache,
Host, mod_roster, use_cache,
ejabberd_config:use_cache(Host));
_ ->
false