forked from pothtonswer/discordmuffin
👌
This commit is contained in:
parent
84f0b5d41a
commit
7efe4ccfee
1 changed files with 1 additions and 1 deletions
2
state.go
2
state.go
|
@ -325,7 +325,7 @@ func (s *State) Channel(channelID string) (*Channel, error) {
|
||||||
return nil, ErrNilState
|
return nil, ErrNilState
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Rlock()
|
s.RLock()
|
||||||
defer s.RUnlock()
|
defer s.RUnlock()
|
||||||
|
|
||||||
if c, ok := s.channelMap[channelID]; ok {
|
if c, ok := s.channelMap[channelID]; ok {
|
||||||
|
|
Loading…
Reference in a new issue