Skip to content

Commit

Permalink
ListManager: Change default bl expiry to 90 days
Browse files Browse the repository at this point in the history
Closes #56.
  • Loading branch information
Krinkle authored Aug 31, 2019
1 parent 0f0c780 commit f5e7faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CVNBot/ListManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ public string HandleListCommand(int listtype, string user, string cmdParams)
int len;
// Set length defaults: except for blacklist (listtype=1), the default is 0 (indefinite)
if (listtype == 1)
// 31 days, in seconds
len = 2678400;
// Default expiry for blacklist: 90 days (in seconds)
len = 7776000;
else
len = 0;
if (groups["len"].Success)
Expand Down

0 comments on commit f5e7faa

Please sign in to comment.