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

CommandDevoice Class Reference

Handle /DEVOICE. More...

Inheritance diagram for CommandDevoice:

Inheritance graph
[legend]
Collaboration diagram for CommandDevoice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Handle /DEVOICE.

Definition at line 25 of file m_devoice.cpp.


Constructor & Destructor Documentation

CommandDevoice::CommandDevoice InspIRCd Instance  )  [inline]
 

Definition at line 28 of file m_devoice.cpp.

References Command::source, Command::syntax, TR_END, TR_TEXT, and TRANSLATE2.


Member Function Documentation

CmdResult CommandDevoice::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 35 of file m_devoice.cpp.

References CMD_FAILURE, CMD_SUCCESS, InspIRCd::FakeClient, InspIRCd::FindChan(), Channel::HasUser(), User::nick, InspIRCd::SendMode(), and Command::ServerInstance.


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