The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CommandAlltime Class Reference

Inheritance diagram for CommandAlltime:

Inheritance graph
[legend]
Collaboration diagram for CommandAlltime:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandAlltime (InspIRCd *Instance)
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle the command from a user.

Detailed Description

Definition at line 18 of file m_alltime.cpp.


Constructor & Destructor Documentation

CommandAlltime::CommandAlltime InspIRCd Instance  )  [inline]
 

Definition at line 21 of file m_alltime.cpp.

References Command::source, Command::syntax, TR_END, and Command::translation.


Member Function Documentation

CmdResult CommandAlltime::Handle const std::vector< std::string > &  parameters,
User user
[inline, virtual]
 

Handle the command from a user.

Parameters:
parameters The parameters for the command.
user The user who issued the command.
Returns:
Return CMD_SUCCESS on success, or CMD_FAILURE on failure. If the command succeeds but should remain local to this server, return CMD_LOCALONLY.

Implements Command.

Definition at line 28 of file m_alltime.cpp.

References CMD_SUCCESS, InspIRCd::Config, ConvToStr(), IS_LOCAL, User::nick, InspIRCd::PI, ProtocolInterface::PushToClient(), Command::ServerInstance, ServerConfig::ServerName, InspIRCd::Time(), and User::Write().


The documentation for this class was generated from the following file: