Correctly initialize subscribed topics list
This commit is contained in:
parent
06f1d59b3f
commit
baf46716bd
@ -66,6 +66,7 @@ type TwitchPubSub struct {
|
||||
func NewTwitchPubSub() *TwitchPubSub {
|
||||
t := &TwitchPubSub{
|
||||
responseCh: make(chan *twitchMessage),
|
||||
SubscribedTopics: make([]string, 0),
|
||||
}
|
||||
|
||||
return t
|
||||
|
Loading…
x
Reference in New Issue
Block a user