From 7efe4ccfeeb2312d2f4a83f077b2e3d0e7336c19 Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Wed, 27 Apr 2016 14:43:43 -0700 Subject: [PATCH] :ok_hand: --- state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.go b/state.go index b170ce0..e3c8908 100644 --- a/state.go +++ b/state.go @@ -325,7 +325,7 @@ func (s *State) Channel(channelID string) (*Channel, error) { return nil, ErrNilState } - s.Rlock() + s.RLock() defer s.RUnlock() if c, ok := s.channelMap[channelID]; ok {