Feature to ban specific torrent clients (#1175)

* Feature to ban specific torrent clients

* Code re-formatting for announce.php

---------

Co-authored-by: Roman Kelesidis <roman25052006.kelesh@gmail.com>
This commit is contained in:
Cønstantine Kovalensky 2023-11-30 09:26:04 +04:00 committed by GitHub
commit 3f0ce54877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 35 additions and 13 deletions

View file

@ -69,7 +69,6 @@ function dummy_exit($interval = 1800, $cache_dict = [])
$output['complete'] = $cache_dict['complete'];
$output['incomplete'] = $cache_dict['incomplete'];
$output['downloaded'] = $cache_dict['downloaded'];
$output['warning message'] = 'Next statistics update in: ' . (floor($interval / 60) % 60) . ' minutes';
}
if (isset($cache_dict['peers'])) {