diff --git a/CHANGELOG.md b/CHANGELOG.md index 699f8393..807b24d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Show torrent status changes in actions log - Show torrent type (gold / silver) changes in actions log - Show torrent unregister action in log actions +- Fixed callseed spam bug - Fixed empty topic_id in log actions after topic rename - Some other changes / improvements diff --git a/callseed.php b/callseed.php index 0db99f1c..61fd0e2f 100644 --- a/callseed.php +++ b/callseed.php @@ -14,7 +14,11 @@ $forum_id = $t_data['forum_id']; set_die_append_msg($forum_id, $topic_id); -if ($t_data['seeders'] > 2) +if (!$bb_cfg['callseed']) +{ + bb_die($lang['MODULE_OFF']); +} +elseif ($t_data['seeders'] > 2) { bb_die(sprintf($lang['CALLSEED_HAVE_SEED'], $t_data['seeders'])); }