Changeset 4103
- Timestamp:
- 12/13/10 22:57:21 (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4101 r4103 3287 3287 return -2; 3288 3288 } 3289 if (cl->dup) { 3290 cs_log("account '%s' duplicate login, disconnect!", usr); 3291 return -2; 3292 } 3293 3289 3294 3290 3295 if (!cc->prefix) … … 3379 3384 wait_for_keepalive = 0; 3380 3385 } 3386 3381 3387 if (cc->mode != CCCAM_MODE_NORMAL || cl->dup) 3382 3388 break; //mode wrong or duplicate user -->disconect -
trunk/oscam.c
r4102 r4103 1099 1099 for (cl=first_client->next; cl ; cl=cl->next) 1100 1100 { 1101 if ( (cl->typ == 'c') && !cl->dup && !strcmp(cl->usr, usr)1101 if (cl != client && (cl->typ == 'c') && !cl->dup && !strcmp(cl->usr, usr) 1102 1102 && (uniq < 5) && ((uniq % 2) || (cl->ip != ip))) 1103 1103 {
Note:
See TracChangeset
for help on using the changeset viewer.