Rate limit requestSeenLogins

This commit is contained in:
calzoneman 2013-05-26 12:43:11 -04:00
parent fc2234c0c1
commit 07f64bdf56

View file

@ -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));