mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-21 06:42:28 +01:00
fix(announce): fixed anounce score Math.around .toFixed(2)
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports.update = function (req, user, action, value, writeLog = true) {
|
||||
});
|
||||
|
||||
//write score log
|
||||
if (writeLog) {
|
||||
if (writeLog && v > 0) {
|
||||
dataLog.scoreLog(user, v);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user