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

cmd_shun Class Reference

Inheritance diagram for cmd_shun:

Inheritance graph
[legend]
Collaboration diagram for cmd_shun:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

InspIRCdSrv

Detailed Description

Definition at line 70 of file m_shun.cpp.


Constructor & Destructor Documentation

cmd_shun::cmd_shun InspIRCd Me  )  [inline]
 

Definition at line 76 of file m_shun.cpp.

References Command::source.


Member Function Documentation

CmdResult cmd_shun::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 81 of file m_shun.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.


Member Data Documentation

InspIRCd* cmd_shun::Srv [private]
 

Definition at line 73 of file m_shun.cpp.


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