Changeset 4676 for trunk/module-cccam.c
- Timestamp:
- 02/04/11 08:16:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4658 r4676 2976 2976 uint k; 2977 2977 uint8 hop = 0; 2978 int reshare, usr_reshare, reader_reshare, maxhops, flt = 0;2978 int reshare, usr_reshare, usr_ignorereshare, reader_reshare, maxhops, flt = 0; 2979 2979 2980 2980 struct cc_data *cc = cl->cc; … … 2982 2982 maxhops = cl->account->cccmaxhops; 2983 2983 usr_reshare = cl->account->cccreshare; 2984 usr_ignorereshare = cl->account->cccignorereshare; 2984 2985 2985 2986 LLIST *server_cards = ll_create(); … … 3201 3202 && chk_ctab(card->caid, &rdr->ctab)) { 3202 3203 3203 if ((cfg.cc_ignore_reshare || card->maxdown > 0)) {3204 if ((cfg.cc_ignore_reshare || usr_ignorereshare || card->maxdown > 0)) { 3204 3205 int ignore = 0; 3205 3206 … … 3219 3220 if (!ignore) { //Filtered by service 3220 3221 int new_reshare = 3221 cfg.cc_ignore_reshare? reshare3222 ( cfg.cc_ignore_reshare || usr_ignorereshare ) ? reshare 3222 3223 : (card->maxdown - 1); 3223 3224 if (new_reshare > reshare)
Note:
See TracChangeset
for help on using the changeset viewer.