Skip to content

Commit

Permalink
Fix configuration key for cache name
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Jan 26, 2022
1 parent c9b7d21 commit d6b3038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongoose_user_cache.erl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ stop_cache(HostType, Module) ->

-spec cache_name(mongooseim:host_type(), module()) -> atom().
cache_name(HostType, Module) ->
case gen_mod:get_module_opt(HostType, Module, cache_name, internal) of
case gen_mod:get_module_opt(HostType, Module, module, internal) of
internal -> gen_mod:get_module_proc(HostType, Module);
ConfiguredModule -> gen_mod:get_module_proc(HostType, ConfiguredModule)
end.
Expand Down

0 comments on commit d6b3038

Please sign in to comment.