mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Rate limit requestSeenLogins
This commit is contained in:
parent
fc2234c0c1
commit
07f64bdf56
1 changed files with 3 additions and 0 deletions
3
user.js
3
user.js
|
|
@ -385,6 +385,9 @@ User.prototype.initCallbacks = function() {
|
|||
|
||||
this.socket.on("requestSeenlogins", function() {
|
||||
if(this.channel != null) {
|
||||
if(this.noflood("requestSeenLogins", 0.25)) {
|
||||
return;
|
||||
}
|
||||
this.channel.sendRankStuff(this);
|
||||
}
|
||||
}.bind(this));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue