implement gifting to ppemu

This commit is contained in:
Bluzume 2021-08-09 19:03:05 +12:00
parent be9b0ba8e0
commit ddbf1fd67b
8 changed files with 321 additions and 166 deletions

View file

@ -12,6 +12,7 @@ function GenHmacMessage(string $data, string $channel)
return $hmac;
}
function getPlayerList($database)
{
include('config.php');
@ -163,7 +164,7 @@ function getUserExistInExt($database, $id)
$stmt->execute();
$result = $stmt->get_result();
return intval($result->fetch_row()[0]) <= 0;
return intval($result->fetch_row()[0]) >= 1;
}