mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-04 13:40:05 +02:00
fix(users): fixed eslint warning
This commit is contained in:
@@ -307,7 +307,7 @@
|
||||
var upScore = usize / action.perlSize;
|
||||
uploadScore = upUnitScore * action.uploadValue * upScore;
|
||||
//uploader addition
|
||||
if (vm.user._id == peer.torrent.user) {
|
||||
if (vm.user._id === peer.torrent.user) {
|
||||
uploadScore = uploadScore * action.uploaderRatio;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user