This commit is contained in:
Chris Rhodes 2016-04-27 14:43:43 -07:00
parent 84f0b5d41a
commit 7efe4ccfee

View file

@ -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 {