From bb32810f534c6514dc81aacf08e6422dbf03b7ac Mon Sep 17 00:00:00 2001 From: hakasenyang Date: Sun, 11 Dec 2016 04:27:36 +0900 Subject: [PATCH] Remove junk code --- include/check.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/check.php b/include/check.php index 639477d..4196da8 100644 --- a/include/check.php +++ b/include/check.php @@ -90,12 +90,8 @@ */ public function CheckUser($osuid, $mode) { - $osuid = strtolower($osuid); - if ($osuid !== $this->OsuID && $osuid !== strtolower($this->RealID)) - $this->ResetObject(); - + $this->ResetObject(); $this->SelectMode($mode); - // Transfer osu! ID to Num $this->data_profile = $this->Parser->WEBParsing('https://osu.ppy.sh/u/' . $osuid); $this->OsuID = $this->Parser->splits($this->data_profile, 'var userId = ', ';');