Public Member Functions

CommandCSSetFounder Class Reference

Inherits Command.

Collaboration diagram for CommandCSSetFounder:
Collaboration graph
[legend]

Public Member Functions

 CommandCSSetFounder (Module *creator, const Anope::string &cname="chanserv/set/founder")
void Execute (CommandSource &source, const std::vector< Anope::string > &params) anope_override
bool OnHelp (CommandSource &source, const Anope::string &) anope_override

Detailed Description

Definition at line 325 of file cs_set.cpp.


Constructor & Destructor Documentation

CommandCSSetFounder::CommandCSSetFounder ( Module creator,
const Anope::string cname = "chanserv/set/founder" 
) [inline]

Definition at line 328 of file cs_set.cpp.

References _, Command::SetDesc(), and Command::SetSyntax().


Member Function Documentation

void CommandCSSetFounder::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 
) [inline, virtual]
bool CommandCSSetFounder::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 383 of file cs_set.cpp.

References _, Anope::string::c_str(), Service::name, CommandSource::Reply(), and Command::SendSyntax().


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