Changeset 24153
- Timestamp:
- 10/09/13 00:41:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r24142 r24153 95 95 int addtithekcontent(struct tithek* node, char *line, int len, int count, int pay) 96 96 { 97 int ret = 0, i = 0, skip = 0, hid = 0 ;97 int ret = 0, i = 0, skip = 0, hid = 0, sos = 0; 98 98 char* tmpstr = NULL, *flag = NULL, *cmd = NULL, *tmp = NULL; 99 99 if(node == NULL) return 1; … … 145 145 if(flag != NULL) node->flag = atoi(flag); 146 146 147 sos = getconfigint("sos", NULL); 147 148 hid = getconfigint("tithek_hid_xxx", NULL); 148 149 if(node->flag == 1000 && hid == 1) … … 162 163 else if(node->flag == 35 && pay == 0) 163 164 skip = 1; 164 else if(titheksolarmovie == 1 && node->flag == 9996 )165 else if(titheksolarmovie == 1 && node->flag == 9996 && sos == 0) 165 166 { 166 167 cmd = ostrcat(cmd, "ww", 1, 0); … … 182 183 titheksolarmovie = 0; 183 184 } 184 else if(tithekmovie4k == 1 && node->flag == 9997 )185 else if(tithekmovie4k == 1 && node->flag == 9997 && sos == 0) 185 186 { 186 187 cmd = ostrcat(cmd, "ww", 1, 0); … … 202 203 tithekmovie4k = 0; 203 204 } 204 else if(tithekmlehd == 1 && node->flag == 9998 )205 else if(tithekmlehd == 1 && node->flag == 9998 && sos == 0) 205 206 { 206 207 cmd = ostrcat(cmd, "ww", 1, 0); … … 222 223 tithekmlehd = 0; 223 224 } 224 else if(tithekkinox == 1 && node->flag == 9999 )225 else if(tithekkinox == 1 && node->flag == 9999 && sos == 0) 225 226 { 226 227 cmd = ostrcat(cmd, "kin", 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.