瀏覽代碼

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;