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

CommandClose Class Reference

Handle /CLOSE. More...

Inheritance diagram for CommandClose:

Inheritance graph
[legend]
Collaboration diagram for CommandClose:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Handle /CLOSE.

Definition at line 28 of file m_close.cpp.


Constructor & Destructor Documentation

CommandClose::CommandClose InspIRCd Instance  )  [inline]
 

Definition at line 32 of file m_close.cpp.

References Command::source.


Member Function Documentation

CmdResult CommandClose::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 37 of file m_close.cpp.

References CMD_LOCALONLY, ConvToStr(), UserManager::local_users, User::nick, UserManager::QuitUser(), REG_ALL, Command::ServerInstance, InspIRCd::Users, and User::WriteServ().


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