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

CommandDccallow Class Reference

Inheritance diagram for CommandDccallow:

Inheritance graph
[legend]
Collaboration diagram for CommandDccallow:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 47 of file m_dccallow.cpp.


Constructor & Destructor Documentation

CommandDccallow::CommandDccallow InspIRCd Me  )  [inline]
 

Definition at line 50 of file m_dccallow.cpp.

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


Member Function Documentation

void CommandDccallow::DisplayDCCAllowList User user  )  [inline]
 

Definition at line 227 of file m_dccallow.cpp.

References dl, Extensible::GetExt(), User::nick, and User::WriteNumeric().

Referenced by Handle().

void CommandDccallow::DisplayHelp User user  )  [inline]
 

Definition at line 203 of file m_dccallow.cpp.

References User::nick, and User::WriteNumeric().

Referenced by Handle().

CmdResult CommandDccallow::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 57 of file m_dccallow.cpp.

References CMD_FAILURE, CMD_SUCCESS, User::dhost, DisplayDCCAllowList(), DisplayHelp(), dl, InspIRCd::Duration(), Extensible::Extend(), InspIRCd::FindNick(), Extensible::GetExt(), User::ident, InspIRCd::IsValidMask(), User::nick, ConfigReader::ReadValue(), Command::ServerInstance, Extensible::Shrink(), InspIRCd::Time(), ul, and User::WriteNumeric().


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