Files
winix/functions/last.cpp
Tomasz Sowa 920290e9dc changed: permission to winix function 'who' and 'last'
(only logged users can use these functions)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@826 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-04-06 08:11:25 +00:00

30 lines
303 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2012, Tomasz Sowa
* All rights reserved.
*
*/
#include "last.h"
namespace Fun
{
Last::Last()
{
fun.url = L"last";
}
bool Last::HasAccess()
{
return cur->session->puser != 0;
}
} // namespace