179 |
|
|
180 |
if (gettimeofday(&newtime, NULL) == -1) |
if (gettimeofday(&newtime, NULL) == -1) |
181 |
{ |
{ |
182 |
ilog(LOG_TYPE_IRCD, "Clock Failure (%s), TS can be corrupted", |
char buf[IRCD_BUFSIZE]; |
183 |
strerror(errno)); |
|
184 |
sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE, |
snprintf(buf, sizeof(buf), "Clock failure, TS can be corrupted: %s", |
185 |
"Clock Failure (%s), TS can be corrupted", |
strerror(errno)); |
186 |
strerror(errno)); |
server_die(buf, SERVER_SHUTDOWN); |
|
server_die("Clock Failure", SERVER_SHUTDOWN); |
|
187 |
} |
} |
188 |
|
|
189 |
if (newtime.tv_sec < CurrentTime) |
if (newtime.tv_sec < CurrentTime) |