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

CommandRLine Class Reference

Handle /RLINE Syntax is same as other lines: RLINE regex_goes_here 1d :reason. More...

Inheritance diagram for CommandRLine:

Inheritance graph
[legend]
Collaboration diagram for CommandRLine:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

std::string rxengine

Detailed Description

Handle /RLINE Syntax is same as other lines: RLINE regex_goes_here 1d :reason.

Definition at line 114 of file m_rline.cpp.


Constructor & Destructor Documentation

CommandRLine::CommandRLine InspIRCd Instance  )  [inline]
 

Definition at line 119 of file m_rline.cpp.

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


Member Function Documentation

CmdResult CommandRLine::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 125 of file m_rline.cpp.

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


Member Data Documentation

std::string CommandRLine::rxengine [private]
 

Definition at line 116 of file m_rline.cpp.


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