aboutsummaryrefslogtreecommitdiff
path: root/hotline/ban.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-24 16:10:42 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-24 16:10:42 -0700
commit46862572ad2977a87baeda0aa8a9e678c533559d (patch)
tree6ef94eed133008269972d63c35569df3d9b7e58f /hotline/ban.go
parent31658ca1e37cb8118a8a081e6d8f6e15e39a1cea (diff)
Implement user ban
Diffstat (limited to 'hotline/ban.go')
-rw-r--r--hotline/ban.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/hotline/ban.go b/hotline/ban.go
new file mode 100644
index 0000000..0b75e8e
--- /dev/null
+++ b/hotline/ban.go
@@ -0,0 +1,5 @@
+package hotline
+
+import "time"
+
+const tempBanDuration = 30 * time.Minute