Skip to content
Snippets Groups Projects
Commit 6198f1e8 authored by rswindell's avatar rswindell
Browse files

Fixed time online negative overflow checking.

parent 916ca945
Branches
Tags
No related merge requests found
......@@ -125,7 +125,7 @@ for(n=0;n<system.node_list.length;n++) {
,user.gender
));
t=time()-user.logontime;
if(t<0) t=0;
if(t&0x80000000) t=0;
write(format(
"<td align=center>%u:%02u:%02u"
,Math.floor(t/(60*60))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment