mirror of
https://github.com/hakasenyang/osu-tournament-php
synced 2026-08-22 03:03:07 +09:00
change $osuid check method
This commit is contained in:
+2
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user