1 parent
01c9402eac
commit
08e0607a88
1 file changed
+3
@@ -103,6 +103,9 @@ func hasChannel(id string, c *context.Context) *model.TwitchChannel {
|
||||
fmt.Println("channels :: ", chs)
|
||||
|
||||
for _, v := range chs {
|
||||
if v == nil {
|
||||
continue
|
||||
}
|
||||
if v.ID == id {
|
||||
return v
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user