aboutsummaryrefslogtreecommitdiff
path: root/hotline/ban.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/ban.go')
-rw-r--r--hotline/ban.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/hotline/ban.go b/hotline/ban.go
index 2713fbe..43988ab 100644
--- a/hotline/ban.go
+++ b/hotline/ban.go
@@ -9,13 +9,12 @@ import (
// BanDuration is the length of time for temporary bans.
const BanDuration = 30 * time.Minute
-// Redis key constants for ban management and online user tracking
+// Redis key constants for ban management
const (
RedisKeyBannedIPs = "mobius:banned:ips"
RedisKeyBannedUsers = "mobius:banned:users"
RedisKeyBannedNicknames = "mobius:banned:nicknames"
RedisKeyTempBannedIPs = "mobius:temp_banned:ips:"
- RedisKeyOnline = "mobius:online"
)
type BanMgr interface {