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_reload Class Reference

Command handler class for the RELOAD command. More...

#include <command_parse.h>

Inheritance diagram for cmd_reload:

Inheritance graph
[legend]
Collaboration diagram for cmd_reload:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 cmd_reload (InspIRCd *Instance)
 Standard constructor.
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle RELOAD.

Detailed Description

Command handler class for the RELOAD command.

A command cant really reload itself, so this has to be in here.

Definition at line 213 of file command_parse.h.


Constructor & Destructor Documentation

cmd_reload::cmd_reload InspIRCd Instance  )  [inline]
 

Standard constructor.

Definition at line 218 of file command_parse.h.

References Command::syntax.


Member Function Documentation

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

Handle RELOAD.

Implements Command.

Definition at line 490 of file command_parse.cpp.

References CMD_FAILURE, CMD_SUCCESS, User::nick, InspIRCd::Parser, CommandParser::ReloadCommand(), Command::ServerInstance, InspIRCd::SNO, User::WriteServ(), and SnomaskManager::WriteToSnoMask().


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