ip/torrent: fix wrong interval check

This commit is contained in:
cinap_lenrek 2024-05-04 14:48:27 +00:00
parent 217d2f751c
commit 3ba68527b3

View file

@ -891,7 +891,7 @@ webtracker(char *url)
n = 0;
if(p = dstr(dlook(d, "interval")))
n = atoi(p);
if(n < 10 | n > 60*60)
if(n < 10 || n > 60*60)
n = 2*60;
freedict(d);
sleep(n * 1000 + nrand(5000));