Stringified the vote #defines for easier config stuff

This commit is contained in:
Putnam
2020-10-18 14:49:43 -07:00
parent 44dc292101
commit 558d11bc73
4 changed files with 11 additions and 22 deletions
+2 -2
View File
@@ -408,7 +408,7 @@ ALLOW_MAP_VOTING 1
## APPROVAL (can vote for as many as you want), I
## IRV (vote by ranked choice, winner determined by instant runoff algorithm)
## SCORE (give individual rankings of each choice, winner determined by majority judgement algorithm)
MAP_VOTE_TYPE SCORE
MAP_VOTE_TYPE APPROVAL
## Map rotate chance delta
## This is the chance of map rotation factored to the round length.
@@ -519,7 +519,7 @@ DEFAULT_VIEW 21x15
### NOTE FOR LINUX HOSTS: This requires manual setup of iptables. Beware that improper configuration of this can and will irreversibly fuck up a server, so please don't tinker with it if you don't know what you're doing.
## Enabled
#FAIL2TOPIC_ENABLED
## Minimum wait time in deciseconds between valid requests
## Minimum wait time in deciseconds between valid requests
FAIL2TOPIC_RATE_LIMIT 10
## Number of requests after breaching rate limit that triggers a ban
FAIL2TOPIC_MAX_FAILS 5