|
|
@@ -193,7 +193,7 @@ static void check_expired_dcc()
|
|
|
/* this also expires irc dcc_cmd auths */
|
|
|
static void expire_simuls() {
|
|
|
for (int idx = 0; idx < dcc_total; idx++) {
|
|
|
- if (dcc[idx].type && dcc[idx].simul > 0) {
|
|
|
+ if (dcc[idx].type && dcc[idx].simul > -1) {
|
|
|
if ((now - dcc[idx].simultime) >= 100) { /* expire simuls after 100 seconds (re-uses idx, so it wont fill up) */
|
|
|
dcc[idx].simul = -1;
|
|
|
// FIXME: THIS NEEDS TO BE UPDATED FOR CLASS
|