Code Duplication    Length = 7-7 lines in 2 locations

htdocs/modules/protector/class/protector.php 2 locations

@@ 420-426 (lines=7) @@
417
                    case '6' :
418
                    case '7' :
419
                    case '8' :
420
                    case '9' :
421
                        // full match
422
                        if (@$_SERVER['REMOTE_ADDR'] == $ip) {
423
                            $this->ip_matched_info = $info;
424
                            return true;
425
                        }
426
                        break;
427
                    default :
428
                        // perl regex
429
                        if (@preg_match($ip, @$_SERVER['REMOTE_ADDR'])) {
@@ 427-433 (lines=7) @@
424
                            return true;
425
                        }
426
                        break;
427
                    default :
428
                        // perl regex
429
                        if (@preg_match($ip, @$_SERVER['REMOTE_ADDR'])) {
430
                            $this->ip_matched_info = $info;
431
                            return true;
432
                        }
433
                        break;
434
                }
435
            }
436
        }