Browse Source

:ok_hand:

Chris Rhodes 9 năm trước cách đây
mục cha
commit
7efe4ccfee
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      state.go

+ 1 - 1
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 {