Public Member Functions

CommandCSDeOwner Class Reference

Inherits CommandModeBase.

Collaboration diagram for CommandCSDeOwner:
Collaboration graph
[legend]

Public Member Functions

 CommandCSDeOwner (Module *creator)
void Execute (CommandSource &source, const std::vector< Anope::string > &params) anope_override
bool OnHelp (CommandSource &source, const Anope::string &subcommand) anope_override

Detailed Description

Definition at line 374 of file cs_modes.cpp.


Constructor & Destructor Documentation

CommandCSDeOwner::CommandCSDeOwner ( Module creator  )  [inline]

Definition at line 377 of file cs_modes.cpp.

References _, and Command::SetDesc().


Member Function Documentation

void CommandCSDeOwner::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 
) [inline, virtual]

Execute this command.

Parameters:
source The source
params Command parameters

Implements Command.

Definition at line 382 of file cs_modes.cpp.

References CMODE_OWNER, CommandModeBase::do_util(), and ModeManager::FindChannelModeByName().

bool CommandCSDeOwner::OnHelp ( CommandSource source,
const Anope::string subcommand 
) [inline, virtual]

Requested when the user is requesting help on this command. Help on this command should be sent to the user.

Parameters:
source The source
subcommand The subcommand the user is requesting help on, or an empty string. (e.g. /ns help set foo bar lol gives a subcommand of "FOO BAR LOL")
Returns:
true if help was provided to the user, false otherwise.

Reimplemented from Command.

Definition at line 392 of file cs_modes.cpp.

References _, and Command::SendSyntax().


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