Disambiguate get_*_policy() and get_*_policy_mask()

This commit is contained in:
Jerzi Kaminsky 2017-04-15 17:13:28 +03:00
parent edb8075ae0
commit cf5e764c7f
6 changed files with 17 additions and 17 deletions

View file

@ -437,7 +437,7 @@ struct cmd_results *handle_command(char *_exec, enum command_context context) {
free_argv(argc, argv);
goto cleanup;
}
if (!(get_command_policy(argv[0]) & context)) {
if (!(get_command_policy_mask(argv[0]) & context)) {
if (results) {
free_cmd_results(results);
}