Fix reversed check

This commit is contained in:
Tyler 2017-05-04 19:46:13 -04:00
parent baf46716bd
commit aa699f02a0
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func (t *TwitchPubSub) reconnect() error {
func (t *TwitchPubSub) Listen(topics []string) error {
err := t.listen(topics)
if err != nil {
if err == nil {
// Update topic list
t.SubscribedTopics = append(t.SubscribedTopics, topics...)
}