move whitelist into cfg

This commit is contained in:
Jimmy Zelinskie
2014-07-25 16:58:26 -04:00
parent cde8251bd3
commit ffb3c57181
10 changed files with 50 additions and 69 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ func NewAnnounceDelta(a *Announce, p *Peer, u *User, t *Torrent, created, snatch
rawDeltaDown uint64
)
if !a.Config.Freeleech {
if !a.Config.FreeleechEnabled {
rawDeltaDown = p.Downloaded - a.Downloaded
}