From 4f1033bfdca9e99df70973f0a388da31996ba32d Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Sun, 30 Jun 2019 12:29:07 -0700
Subject: [PATCH] Check the correct downloadable reasons

---
 srb2query.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srb2query.php b/srb2query.php
index aa991e3..94cdaeb 100644
--- a/srb2query.php
+++ b/srb2query.php
@@ -438,7 +438,7 @@ class SRB2Query
 
 			copy_bool($pk['toobig'],  !( $pk['status'] & self::NETFIL_WILLSEND ));
 			copy_bool($pk['download'],
-				( $pk['toobig'] || ( $pk['status'] & self::NETFIL_WONTSEND ) ));
+				!( $pk['toobig'] || ( $pk['status'] & self::NETFIL_WONTSEND ) ));
 
 			unset($pk['status']);
 
-- 
GitLab