Idiot, idiot, idiot ... stand in the corner

git-svn-id: file:///svn/phpbb/trunk@2751 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-07-26 18:10:14 +00:00
parent 82ca177d23
commit 6c42fe4150

View file

@ -194,7 +194,7 @@ class session {
$sql = "SELECT ban_ip, ban_userid, ban_email $sql = "SELECT ban_ip, ban_userid, ban_email
FROM " . BANLIST_TABLE . " FROM " . BANLIST_TABLE . "
WHERE ( ban_end >= $current_time WHERE ( ban_end >= $current_time
OR ban_length = 0 ) OR ban_end = 0 )
AND ban_ip IN ( AND ban_ip IN (
'" . $user_ip_parts[0] . ".', '" . $user_ip_parts[0] . ".',
'" . $user_ip_parts[0] . "." . $user_ip_parts[1] . ".', '" . $user_ip_parts[0] . "." . $user_ip_parts[1] . ".',