# HG changeset patch # User Dan # Date 1203369236 18000 # Node ID fa51b1b5eae6d820ca62450e8549bab08f690daf # Parent f58e0b6e9c22ae934208fd1af57c9c9e07ff9055 Fixed typo in ban logic diff -r f58e0b6e9c22 -r fa51b1b5eae6 includes/sessions.php --- a/includes/sessions.php Sat Feb 16 16:56:08 2008 -0500 +++ b/includes/sessions.php Mon Feb 18 16:13:56 2008 -0500 @@ -1624,7 +1624,7 @@ { while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() ) { - if ( $ban_type == BAN_IP && $row['is_regex'] != 1 ) + if ( $ban_type == BAN_IP && $is_regex != 1 ) { // check range $regexp = parse_ip_range_regex($ban_value);