From 6409ac61639e588f62904d54a4fb37158d31a5f4 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sun, 4 Aug 2013 04:49:21 -0400 Subject: [PATCH] fix last commit --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 0c9b9983..fe27a568 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -690,7 +690,7 @@ function purge_bans() { global $config; if ($config['cache']['enabled'] && $last_time_purged = cache::get('purged_bans_last')) { - if (time() - $last_time_purged < 60 * 30) + if (time() - $last_time_purged < $config['purge_bans'] ) return; }