Changeset 4808 for trunk/module-cccam.c
- Timestamp:
- 03/13/11 23:02:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4801 r4808 2618 2618 return -2; 2619 2619 } 2620 /* if (cl->dup) { //Dup login kills existing client!2621 struct s_client *cls;2622 for (cls=first_client; cls; cls=cls->next) {2623 if (cls != cl && cls->account == account) {2624 kill_thread(cls);2625 cl->dup = 0;2626 }2627 }2628 }*/2629 2620 if (cl->dup) { 2630 2621 cs_log("account '%s' duplicate login, disconnect!", usr); … … 2647 2638 2648 2639 //Starting readers to get cards: 2649 int wakeup =cc_srv_wakeup_readers(cl);2640 cc_srv_wakeup_readers(cl); 2650 2641 2651 2642 // send passwd ack … … 2689 2680 else 2690 2681 cs_debug_mask(D_CLIENT, "%s 2.1.x compatibility mode", getprefix()); 2691 2692 // report cards2693 if (wakeup > 0) //give readers time to get cards:2694 cs_sleepms(500);2695 2682 2696 2683 if (!cc_srv_report_cards(cl))
Note:
See TracChangeset
for help on using the changeset viewer.