forked from Hri7566/mpp-server-dev2
Don't send noteQuota to all clients!
This commit is contained in:
parent
a8502f4adf
commit
d5d8a7ff1a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue