int max = -1, found = 0;
char *p;
const char *nick;
+ char tbuf[26];
static time_t last_used = 0L;
if(!IsOper(source_p))
{
- if((last_used + ConfigFileEntry.pace_wait_simple) > CurrentTime)
+ if((last_used + ConfigFileEntry.pace_wait_simple) > rb_current_time())
{
sendto_one(source_p, form_str(RPL_LOAD2HI),
me.name, source_p->name, "WHOWAS");
return 0;
}
else
- last_used = CurrentTime;
+ last_used = rb_current_time();
}
sendto_one_numeric(source_p, RPL_WHOISSERVER,
form_str(RPL_WHOISSERVER),
temp->name, temp->servername,
- myctime(temp->logoff));
+ rb_ctime(temp->logoff, tbuf, sizeof(tbuf)));
cur++;
found++;
}