Преглед изворни кода

fixed showing messages while not streaming

Aareschluchtje пре 9 година
родитељ
комит
98d84ee91a
1 измењених фајлова са 4 додато и 0 уклоњено
  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;