Explorar el Código

fixed showing messages while not streaming

Aareschluchtje hace 9 años
padre
commit
98d84ee91a
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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;