this->Modes = 0;
this->Res = 0;
this->ConfigThread = NULL;
+ this->FakeClient = NULL;
UpdateTime();
this->startup_time = TIME.tv_sec;
};
int index;
- while ((c = getopt_long(argc, argv, ":f:", longopts, &index)) != -1)
+ while ((c = getopt_long(argc, argv, ":c:f:", longopts, &index)) != -1)
{
switch (c)
{
*/
if (TIME.tv_sec != OLDTIME)
{
- OLDTIME = TIME.tv_sec;
#ifndef _WIN32
getrusage(RUSAGE_SELF, &ru);
stats->LastSampled = TIME;
{
SNO->WriteToSnoMask('d', "\002EH?!\002 -- Time is jumping FORWARDS! Clock skipped %lu secs.", (unsigned long)TIME.tv_sec - OLDTIME);
}
+\r
+ OLDTIME = TIME.tv_sec;
if ((TIME.tv_sec % 3600) == 0)
{