* fix Nullpointer Access in msgescputs
[citadel.git] / webcit / who.c
index 112487aaf05a275c022d0dfe1ac6ab4a7fe2c185..0cffbebde0dbebe3c87ff1cb70d68167c86c69c7 100644 (file)
@@ -472,6 +472,7 @@ void WholistSubst(StrBuf *TemplBuffer, void *vContext)
        SVPutBuf("WHO:REALROOM", User->RealRoom, 1);
        SVPutBuf("WHO:REALHOST", User->RealHost, 1);
        svputlong("WHO:LASTACTIVE", User->LastActive);
+       ///svputlong("WHO:IDLESINCE",(now - User->LastActive) / 60);//// todo
        svputlong("WHO:SESSION", User->Session);
        svputlong("WHO:IDLE", User->Idle);
        svputlong("WHO:NSESSIONS", User->SessionCount);