This commit is contained in:
Josh Smith 2019-02-11 13:34:32 -05:00
parent dba93f8bb3
commit 37730c1bb1

View File

@ -54,6 +54,7 @@ class handler(requestsManager.asyncRequestHandler):
# Increment 'replays watched by others' if needed
if replayData is not None:
if username != replayData["uname"]:
userUtils.incrementReplaysWatched(replayData["userid"], replayData["play_mode"], replayData["mods"])
log.info("Serving replay_{}.osr".format(replayID))