-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MISSED MIRRORS] General IP intel tweaks (#82904) + fix ipintel cachi…
…ng to db not working. (#3197) * General IP intel tweaks (#82904) * fix ipintel caching to db not working. (#83046) --------- Co-authored-by: GoldenAlpharex <[email protected]> Co-authored-by: oranges <[email protected]> Co-authored-by: Zephyr <[email protected]> Co-authored-by: ZephyrTFA <[email protected]> Co-authored-by: Kyle Spier-Swenson <[email protected]> Co-authored-by: Iajret <[email protected]>
- Loading branch information
1 parent
fcbd301
commit bfe01ad
Showing
4 changed files
with
68 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -457,7 +457,7 @@ | |
/datum/config_entry/string/ipintel_email | ||
|
||
/datum/config_entry/string/ipintel_email/ValidateAndSet(str_val) | ||
return str_val != "[email protected]" && ..() | ||
return str_val != "[email protected]" && (!length(str_val) || findtext(str_val, "@")) && ..() | ||
|
||
/datum/config_entry/number/ipintel_rating_bad | ||
default = 1 | ||
|
@@ -466,25 +466,25 @@ | |
max_val = 1 | ||
|
||
/datum/config_entry/flag/ipintel_reject_rate_limited | ||
default = TRUE | ||
default = FALSE | ||
|
||
/datum/config_entry/flag/ipintel_reject_bad | ||
default = TRUE | ||
default = FALSE | ||
|
||
/datum/config_entry/flag/ipintel_reject_unknown | ||
default = FALSE | ||
|
||
/datum/config_entry/number/ipintel_rate_minute | ||
default = 15 | ||
|
||
/datum/config_entry/number/ipintel_rate_day | ||
default = 500 | ||
min_val = 0 | ||
|
||
/datum/config_entry/number/ipintel_cache_length | ||
default = 7 | ||
min_val = 0 | ||
|
||
/datum/config_entry/number/ipintel_exempt_playtime_living | ||
default = 0 | ||
default = 5 | ||
min_val = 0 | ||
|
||
/datum/config_entry/flag/aggressive_changelog | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters