From b17a7cfa95c814407c0ddac6036c325c5c8296fe Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Wed, 8 Feb 2023 15:26:42 -0500 Subject: [PATCH] Remove unused var --- server/visitor.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/visitor.go b/server/visitor.go index 172ef2f9..ba9b1ec1 100644 --- a/server/visitor.go +++ b/server/visitor.go @@ -1,7 +1,6 @@ package server import ( - "errors" "fmt" "heckel.io/ntfy/log" "heckel.io/ntfy/user" @@ -47,10 +46,6 @@ const ( visitorEmailLimitBurstMax = 150 ) -var ( - errVisitorLimitReached = errors.New("limit reached") -) - // visitor represents an API user, and its associated rate.Limiter used for rate limiting type visitor struct { config *Config