fix reAnnounce check

This commit is contained in:
xiaomlove
2023-06-05 02:51:07 +08:00
parent d0b2f57643
commit cf36944d28
3 changed files with 18 additions and 10 deletions
+6
View File
@@ -66,6 +66,12 @@ function err($msg, $userid = 0, $torrentid = 0)
benc_resp(['failure reason' => $msg]);
exit();
}
function warn($msg)
{
benc_resp(['warning message' => $msg]);
exit();
}
function check_cheater($userid, $torrentid, $uploaded, $downloaded, $anctime, $seeders=0, $leechers=0){
global $cheaterdet_security,$nodetect_security, $CURUSER;