change $osuid check method

This commit is contained in:
hakasenyang
2016-12-11 04:08:13 +09:00
parent dcdd6df1e3
commit 481d0e09f9
+2 -1
View File
@@ -90,7 +90,8 @@
*/ */
public function CheckUser($osuid, $mode) 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->ResetObject();
$this->SelectMode($mode); $this->SelectMode($mode);