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 a8502f4adf
commit d5d8a7ff1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;