1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-20 09:56:52 +02:00

rm unused argument for sort func

This commit is contained in:
Jfreegman
2014-03-13 23:30:44 -04:00
parent ac82961bea
commit d8d198c81c
5 changed files with 24 additions and 17 deletions

View File

@@ -99,7 +99,7 @@ void write_to_log(uint8_t *msg, uint8_t *name, struct chatlog *log, bool event)
strftime(s, MAX_STR_SIZE, "%Y/%m/%d [%H:%M:%S]", get_time());
fprintf(log->file,"%s %s %s\n", s, name_frmt, msg);
uint64_t curtime = (uint64_t) time(NULL);
uint64_t curtime = get_unix_time();
if (timed_out(log->lastwrite, curtime, LOG_FLUSH_LIMIT)) {
fflush(log->file);