Fix statistics reporting the 5.10 client as web (#568)

This commit is contained in:
ROllerozxa 2024-11-22 20:02:36 +01:00 committed by GitHub
parent aafa56df95
commit 73376194e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -131,7 +131,7 @@ for log_file in log_files:
db.session.add(row)
row_lookup[key] = row
if ua.startswith("Minetest/"):
if ua.startswith("Minetest/") or ua.startswith("Luanti/"):
row.platform_minetest += 1
else:
row.platform_other += 1