diff --git a/botthread.c b/botthread.c index 6622e4d..6233836 100644 --- a/botthread.c +++ b/botthread.c @@ -391,7 +391,7 @@ row = mysql_fetch_row(res); sprintf(output,"UPDATE videos SET count = %i WHERE vid = %s\n",atoi(row[7])+1,row[4]); dbQuery(output,0); - tmpChans->count = -1; + tmpChans->count = MAX_COUNT; tuveBotSetSong(tmpChans->channel,"TUveD",row[0],row[1],atoi(row[3]),row[2],atoi(row[5]),atoi(row[6]),atoi(row[4])); } }