Skip to content

Commit

Permalink
60 is allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Nov 8, 2020
1 parent c26d5b5 commit bd6c6d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ std::map<std::string, std::vector<std::string>> Settings::validate() const
{
std::map<std::string, std::vector<std::string>> errors;

// Refresh interval needs to be 1-59
if (general.refreshInterval < 1 || general.refreshInterval > 59)
// Refresh interval needs to be 1-60
if (general.refreshInterval < 1 || general.refreshInterval > 60)
{
errors["General"] = {
"refresh_interval"
Expand Down

0 comments on commit bd6c6d6

Please sign in to comment.