mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
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:
@@ -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] . ".',
|
||||||
|
Reference in New Issue
Block a user