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

CommandKline Class Reference

Handle /KLINE. More...

#include <cmd_kline.h>

Inheritance diagram for CommandKline:

Inheritance graph
[legend]
Collaboration diagram for CommandKline:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandKline (InspIRCd *Instance)
 Constructor for kline.
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle command.

Detailed Description

Handle /KLINE.

These command handlers can be reloaded by the core, and handle basic RFC1459 commands. Commands within modules work the same way, however, they can be fully unloaded, where these may not.

Definition at line 27 of file cmd_kline.h.


Constructor & Destructor Documentation

CommandKline::CommandKline InspIRCd Instance  )  [inline]
 

Constructor for kline.

Definition at line 32 of file cmd_kline.h.

References Command::syntax.


Member Function Documentation

CmdResult CommandKline::Handle const std::vector< std::string > &  parameters,
User user
[virtual]
 

Handle command.

Parameters:
parameters The parameters to the comamnd
pcnt The number of parameters passed to teh command
user The user issuing the command
Returns:
A value from CmdResult to indicate command success or failure.

Implements Command.


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