From baf46716bd36c1b357efadd59df67b720e187ccf Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 4 May 2017 01:49:19 -0400 Subject: [PATCH] Correctly initialize subscribed topics list --- pubsub.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pubsub.go b/pubsub.go index da98d0d..60903c0 100644 --- a/pubsub.go +++ b/pubsub.go @@ -66,6 +66,7 @@ type TwitchPubSub struct { func NewTwitchPubSub() *TwitchPubSub { t := &TwitchPubSub{ responseCh: make(chan *twitchMessage), + SubscribedTopics: make([]string, 0), } return t