Browse Source

fixed showing messages while not streaming

Aareschluchtje 9 năm trước cách đây
mục cha
commit
98d84ee91a
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      contentparser.c

+ 4 - 0
contentparser.c

@@ -105,6 +105,10 @@ void parsetimezone(char* content)
 
 void parseTwitch(char* content)
 {
+    if(strcmp("null", content))
+    {
+        return;
+    }
     int r;
     int i = 2;
     jsmn_parser p;