diff --git a/server.go b/server.go index 9796ef2..0da1cf6 100644 --- a/server.go +++ b/server.go @@ -24,7 +24,7 @@ func NewServer() *Server { func (s *Server) Run() { for event := range s.eventChan { - s.handleEvent(<-s.eventChan) + s.handleEvent(event) } }