Skip to content

Commit

Permalink
remove middlewaresMx
Browse files Browse the repository at this point in the history
  • Loading branch information
negasus committed Sep 16, 2024
1 parent 11f9048 commit 5d33d71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ type Bot struct {
errorsHandler ErrorsHandler
debugHandler DebugHandler

middlewaresMx sync.RWMutex
middlewares []Middleware
middlewares []Middleware

handlersMx sync.RWMutex
handlers []handler
Expand Down

0 comments on commit 5d33d71

Please sign in to comment.