mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
ejabberdctl: Fix crash running defined commands in container and installers
This commit is contained in:
parent
4680954112
commit
9f934abd48
@ -898,7 +898,7 @@ print_usage_command2(Cmd, C, MaxC, ShCode) ->
|
||||
|
||||
IsDefinerMod = case Definer of
|
||||
unknown -> true;
|
||||
_ -> lists:member(gen_mod, proplists:get_value(behaviour, Definer:module_info(attributes)))
|
||||
_ -> lists:member([gen_mod], proplists:get_all_values(behaviour, Definer:module_info(attributes)))
|
||||
end,
|
||||
ModuleFmt = case IsDefinerMod of
|
||||
true -> [" ",?B("Module"),": ", atom_to_list(Definer), "\n\n"];
|
||||
|
Loading…
Reference in New Issue
Block a user