1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 23:53:14 +02:00

+- Changed all TStime() to use timeofday - CPU SAVE

+- Removed userload.c & userload.h
This commit is contained in:
stskeeps
2001-05-07 14:24:11 +00:00
parent 7b393920b5
commit 2b343609ee
16 changed files with 44 additions and 534 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ void send_usage(cptr, nick)
return;
}
secs = rus.ru_utime.tv_sec + rus.ru_stime.tv_sec;
rup = time(NULL) - me.since;
rup = TStime() - me.since;
if (secs == 0)
secs = 1;