Fix the operator precedence bug

This commit is contained in:
Feng Lee 2019-09-06 19:04:11 +08:00
parent b97f04ceae
commit 6972cbb36e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
-spec(is_enabled(all|list(router|broker|listener)) -> boolean()). -spec(is_enabled(all|list(router|broker|listener)) -> boolean()).
is_enabled(Mod) -> is_enabled(Mod) ->
(BootMods = boot_modules() =:= all) orelse lists:member(Mod, BootMods). (BootMods = boot_modules()) =:= all orelse lists:member(Mod, BootMods).
boot_modules() -> boot_modules() ->
application:get_env(emqx, boot_modules, ?BOOT_MODULES). application:get_env(emqx, boot_modules, ?BOOT_MODULES).