diff --git a/drivers/tracker/memory/conn.go b/drivers/tracker/memory/conn.go index 957164c..e589ec0 100644 --- a/drivers/tracker/memory/conn.go +++ b/drivers/tracker/memory/conn.go @@ -251,13 +251,13 @@ func (c *Conn) PurgeInactivePeers(purgeEmptyTorrents bool, before time.Time) err } for key, peer := range torrent.Seeders { - if peer.LastAnnounce < unixtime { + if peer.LastAnnounce <= unixtime { delete(torrent.Seeders, key) } } for key, peer := range torrent.Leechers { - if peer.LastAnnounce < unixtime { + if peer.LastAnnounce <= unixtime { delete(torrent.Leechers, key) } }