Fixed use of wrong BanInfo constructor.

This commit is contained in:
flash 2024-02-08 15:18:57 +00:00
parent be54ce2c22
commit c0caceed7b
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Bans {
$stmt->execute();
$result = $stmt->getResult();
return $result->next() ? new BanInfo($result) : null;
return $result->next() ? BanInfo::fromResult($result) : null;
}
public function createBan(