mirror of
https://github.com/tnodir/fort
synced 2024-11-15 11:45:09 +00:00
Fix last commit.
This commit is contained in:
parent
fd891a4ec8
commit
ac75fc3e9d
@ -117,9 +117,11 @@ fort_conf_app_blocked (const PFORT_CONF conf,
|
|||||||
const BOOL app_perm_allowed = (app_perm & conf->app_perms_allow_mask);
|
const BOOL app_perm_allowed = (app_perm & conf->app_perms_allow_mask);
|
||||||
const BOOL app_allowed = conf->flags.app_allow_all ? TRUE : app_perm_allowed;
|
const BOOL app_allowed = conf->flags.app_allow_all ? TRUE : app_perm_allowed;
|
||||||
|
|
||||||
*notify = app_blocked && conf->flags.app_log_blocked;
|
const BOOL blocked = app_blocked && !app_allowed;
|
||||||
|
|
||||||
return app_blocked && !app_allowed;
|
*notify = blocked && conf->flags.app_log_blocked;
|
||||||
|
|
||||||
|
return blocked;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user