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

CommandSamode Class Reference

Handle /SAMODE. More...

Inheritance diagram for CommandSamode:

Inheritance graph
[legend]
Collaboration diagram for CommandSamode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Handle /SAMODE.

Definition at line 20 of file m_samode.cpp.


Constructor & Destructor Documentation

CommandSamode::CommandSamode InspIRCd Instance  )  [inline]
 

Definition at line 23 of file m_samode.cpp.

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


Member Function Documentation

CmdResult CommandSamode::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 29 of file m_samode.cpp.

References CMD_FAILURE, CMD_LOCALONLY, InspIRCd::FakeClient, ModeParser::GetLastParse(), irc::sepstream::GetToken(), InspIRCd::Modes, User::nick, InspIRCd::PI, ProtocolInterface::SendMode(), InspIRCd::SendMode(), Command::ServerInstance, InspIRCd::SNO, User::WriteServ(), and SnomaskManager::WriteToSnoMask().


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