Public Member Functions

CommandNSSetChanstats Class Reference

Inherits Command.

Inherited by CommandNSSASetChanstats.

Collaboration diagram for CommandNSSetChanstats:
Collaboration graph
[legend]

Public Member Functions

 CommandNSSetChanstats (Module *creator, const Anope::string &sname="nickserv/set/chanstats", size_t min=1)
void Run (CommandSource &source, const Anope::string &user, const Anope::string &param)
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 284 of file ns_set.cpp.


Constructor & Destructor Documentation

CommandNSSetChanstats::CommandNSSetChanstats ( Module creator,
const Anope::string sname = "nickserv/set/chanstats",
size_t  min = 1 
) [inline]

Definition at line 287 of file ns_set.cpp.

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


Member Function Documentation

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

Execute this command.

Parameters:
source The source
params Command parameters

Implements Command.

Reimplemented in CommandNSSASetChanstats.

Definition at line 322 of file ns_set.cpp.

References Run().

bool CommandNSSetChanstats::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.

Reimplemented in CommandNSSASetChanstats.

Definition at line 327 of file ns_set.cpp.

References _, CommandSource::Reply(), and Command::SendSyntax().

void CommandNSSetChanstats::Run ( CommandSource source,
const Anope::string user,
const Anope::string param 
) [inline]

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