From 481d0e09f949e6aa47434571dad6bfbaaffc6fac Mon Sep 17 00:00:00 2001 From: hakasenyang Date: Sun, 11 Dec 2016 04:08:13 +0900 Subject: [PATCH] change $osuid check method --- include/check.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/check.php b/include/check.php index f4f90c4..639477d 100644 --- a/include/check.php +++ b/include/check.php @@ -90,7 +90,8 @@ */ public function CheckUser($osuid, $mode) { - if ($osuid !== $this->OsuID && $osuid !== $this->RealID) + $osuid = strtolower($osuid); + if ($osuid !== $this->OsuID && $osuid !== strtolower($this->RealID)) $this->ResetObject(); $this->SelectMode($mode);