From 39436b564e4a3a8962d60eaad57885eabe84afe1 Mon Sep 17 00:00:00 2001 From: 0ceanSlim Date: Thu, 15 Aug 2024 11:00:43 -0400 Subject: [PATCH] perma blacklist functionality, temp banning not working --- app/views/index.html | 11 ---- app/views/templates/layout.html | 2 +- config/types/blacklistConfig.go | 11 ++++ config/types/serverConfig.go | 1 + server/handlers/event.go | 7 +++ server/utils/checkBlacklist.go | 99 +++++++++++++++++++++++++++++++++ 6 files changed, 119 insertions(+), 12 deletions(-) create mode 100644 config/types/blacklistConfig.go create mode 100644 server/utils/checkBlacklist.go diff --git a/app/views/index.html b/app/views/index.html index 7e0f16d..bc50621 100644 --- a/app/views/index.html +++ b/app/views/index.html @@ -1,17 +1,6 @@ {{define "view"}}
You are now viewing the {{.Title}}
-