lastDisconnectReason = reason;
lastIPForDisconnect = currIP;
currIP = 0; // DelUser in traffcounter
+ if (connected)
+ Disconnect(false, "not authorized");
return;
}
}
if (m_services.Find(property.Conf().services[i], &conf))
continue;
if (conf.payDay == tms.tm_mday ||
- conf.payDay == 0 && tms.tm_mday == DaysInCurrentMonth())
+ (conf.payDay == 0 && tms.tm_mday == DaysInCurrentMonth()))
{
double c = cash;
double fee = conf.cost * passiveTimePart;