winix/functions/who.cpp

39 lines
343 B
C++
Executable File

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