Changeset 24153


Ignore:
Timestamp:
10/09/13 00:41:31 (8 years ago)
Author:
nit
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek.h

    r24142 r24153  
    9595int addtithekcontent(struct tithek* node, char *line, int len, int count, int pay)
    9696{
    97         int ret = 0, i = 0, skip = 0, hid = 0;
     97        int ret = 0, i = 0, skip = 0, hid = 0, sos = 0;
    9898        char* tmpstr = NULL, *flag = NULL, *cmd = NULL, *tmp = NULL;
    9999        if(node == NULL) return 1;
     
    145145        if(flag != NULL) node->flag = atoi(flag);
    146146       
     147        sos = getconfigint("sos", NULL);
    147148        hid = getconfigint("tithek_hid_xxx", NULL);
    148149        if(node->flag == 1000 && hid == 1)
     
    162163        else if(node->flag == 35 && pay == 0)
    163164                skip = 1;
    164         else if(titheksolarmovie == 1 && node->flag == 9996)
     165        else if(titheksolarmovie == 1 && node->flag == 9996 && sos == 0)
    165166        {
    166167                cmd = ostrcat(cmd, "ww", 1, 0);
     
    182183                titheksolarmovie = 0;
    183184        }
    184         else if(tithekmovie4k == 1 && node->flag == 9997)
     185        else if(tithekmovie4k == 1 && node->flag == 9997 && sos == 0)
    185186        {
    186187                cmd = ostrcat(cmd, "ww", 1, 0);
     
    202203                tithekmovie4k = 0;
    203204        }               
    204         else if(tithekmlehd == 1 && node->flag == 9998)
     205        else if(tithekmlehd == 1 && node->flag == 9998 && sos == 0)
    205206        {
    206207                cmd = ostrcat(cmd, "ww", 1, 0);
     
    222223                tithekmlehd = 0;
    223224        }
    224         else if(tithekkinox == 1 && node->flag == 9999)
     225        else if(tithekkinox == 1 && node->flag == 9999 && sos == 0)
    225226        {
    226227                cmd = ostrcat(cmd, "kin", 1, 0);
Note: See TracChangeset for help on using the changeset viewer.