summaryrefslogtreecommitdiffstats
path: root/squark-filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'squark-filter.c')
-rw-r--r--squark-filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/squark-filter.c b/squark-filter.c
index ce2d183..1fa1ec9 100644
--- a/squark-filter.c
+++ b/squark-filter.c
@@ -416,8 +416,8 @@ static void read_input(struct sqdb *db)
if (!auth_ok) {
send_redirect(redirect_login_page, id, url, BLOB_STR("auth"), username);
} else if (((1ULL << category) & entry.p.block_categories) &&
- (now < entry.u.override_time ||
- now > entry.u.override_time + FILTER_OVERRIDE_TIMEOUT ||
+ (now < entry.override_time ||
+ now > entry.override_time + FILTER_OVERRIDE_TIMEOUT ||
((1ULL << category) & entry.p.hard_block_categories))) {
send_redirect(redirect_banned_page, id, url, get_category_name(db, category), username);
} else