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

CommandCBan Class Reference

Handle /CBAN. More...

Inheritance diagram for CommandCBan:

Inheritance graph
[legend]
Collaboration diagram for CommandCBan:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Handle /CBAN.

Definition at line 81 of file m_cban.cpp.


Constructor & Destructor Documentation

CommandCBan::CommandCBan InspIRCd Me  )  [inline]
 

Definition at line 84 of file m_cban.cpp.

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


Member Function Documentation

CmdResult CommandCBan::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 91 of file m_cban.cpp.

References XLineManager::AddLine(), XLineManager::ApplyLines(), CMD_FAILURE, CMD_SUCCESS, XLineManager::DelLine(), InspIRCd::Duration(), User::nick, Command::ServerInstance, InspIRCd::SNO, InspIRCd::Time(), InspIRCd::TimeString(), User::WriteServ(), SnomaskManager::WriteToSnoMask(), and InspIRCd::XLines.


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