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

CommandSVSSilence Class Reference

Inheritance diagram for CommandSVSSilence:

Inheritance graph
[legend]
Collaboration diagram for CommandSVSSilence:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 53 of file m_silence.cpp.


Constructor & Destructor Documentation

CommandSVSSilence::CommandSVSSilence InspIRCd Instance  )  [inline]
 

Definition at line 56 of file m_silence.cpp.

References Command::source, Command::syntax, TR_END, TR_NICK, TR_TEXT, and TRANSLATE3.


Member Function Documentation

CmdResult CommandSVSSilence::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 63 of file m_silence.cpp.

References CommandParser::CallHandler(), CMD_FAILURE, CMD_SUCCESS, InspIRCd::FindNick(), IS_LOCAL, InspIRCd::Parser, User::server, Command::ServerInstance, and InspIRCd::ULine().


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