Browse Source

Stop irc freeleech announces during global freeleech

spaghetti 8 years ago
parent
commit
601f86032f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/tools/managers/sitewide_freeleech.php

+ 1
- 1
sections/tools/managers/sitewide_freeleech.php View File

38
             ('" . $Tag . "', '" . (time() + (60 * 60 * $Duration)) . "', 'freeleech')
38
             ('" . $Tag . "', '" . (time() + (60 * 60 * $Duration)) . "', 'freeleech')
39
           ON DUPLICATE KEY UPDATE
39
           ON DUPLICATE KEY UPDATE
40
             First = CONVERT(First, UNSIGNED INTEGER) + " . (60 * 60 * $Duration));
40
             First = CONVERT(First, UNSIGNED INTEGER) + " . (60 * 60 * $Duration));
41
-        Torrents::freeleech_torrents($IDs, 1, 3);
41
+        Torrents::freeleech_torrents($IDs, 1, 3, false);
42
         echo("Success! Now run the indexer.");
42
         echo("Success! Now run the indexer.");
43
       } else {
43
       } else {
44
         error('No torrents with that tag exist.');
44
         error('No torrents with that tag exist.');

Loading…
Cancel
Save