Don't send noteQuota to all clients!

This commit is contained in:
wolfy01 2020-04-07 04:21:45 -04:00 committed by GitHub
parent f38b995be0
commit fec8d63c04
1 changed files with 0 additions and 8 deletions

View File

@ -288,14 +288,6 @@ class Room extends EventEmitter {
t: note.t
}], cl, true);
}
sendNotequota(allowance = 200, max = 600, maxHistLen = 3){
this.sendArray([{
m: 'nq',
allowance: allowance,
max: max,
maxHistLen: maxHistLen
}])
}
kickban(_id, ms) {
ms = parseInt(ms);
if (ms >= (1000 * 60 * 60 - 500)) return;