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