Add support for IP-based bans (#1703)

* Add support for IP-based bans. Closes #1534

* Linter cleanup
This commit is contained in:
Gabe Kangas
2022-03-06 20:34:49 -08:00
committed by GitHub
parent 78c27ddbdd
commit 19b9a8bdf6
21 changed files with 488 additions and 98 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func SetupPersistence(file string) error {
if !utils.DoesFileExists(file) {
log.Traceln("Creating new database at", file)
_, err := os.Create(file) //nolint: gosec
_, err := os.Create(file) //nolint:gosec
if err != nil {
log.Fatal(err.Error())
}