Skip to content

Commit

Permalink
Export Punishments.cfloods
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Aug 22, 2016
1 parent da5b28e commit c641233
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions punishments.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,11 @@ Punishments.checkIp = function (user, connection) {
}
};

// Connection flood table. Separate table from IP bans.
let cfloods = new Set();
/**
* Connection flood table. Separate table from IP bans.
* @type Set<string>
*/
let cfloods = Punishments.cfloods = new Set();

/**
* IP bans need to be checked separately since we don't even want to
Expand Down

0 comments on commit c641233

Please sign in to comment.