Used new Bencoder library 🔩 (#791)

Co-authored-by: Constantine Kovalensky <45331093+kovalensky@users.noreply.github.com>
This commit is contained in:
Roman Kelesidis 2023-06-08 11:45:20 +07:00 committed by GitHub
commit 2369e4cc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 154 additions and 75 deletions

View file

@ -32,7 +32,7 @@ if (file_exists($filename) && !$file_contents = file_get_contents($filename)) {
}
}
if (!$tor = \Rych\Bencode\Bencode::decode($file_contents)) {
if (!$tor = \SandFox\Bencode\Bencode::decode($file_contents)) {
return $lang['TORFILE_INVALID'];
}