mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-25 07:22:09 -05:00
PunishmentMonitor: Include punishments on alts (#7322)
This commit is contained in:
parent
8789d619f6
commit
64165b556b
|
|
@ -1493,7 +1493,7 @@ export const Punishments = new class {
|
|||
const minPunishments = (typeof Config.monitorminpunishments === 'number' ? Config.monitorminpunishments : 3);
|
||||
if (!minPunishments) return;
|
||||
|
||||
const punishments = Punishments.getRoomPunishments(user, {publicOnly: true});
|
||||
const punishments = Punishments.getRoomPunishments(user, {checkIps: true, publicOnly: true});
|
||||
|
||||
if (punishments.length >= minPunishments) {
|
||||
let points = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user