Anope IRC Services  Version 2.0
Public Member Functions
CommandNSSASetChanstats Class Reference
Inheritance diagram for CommandNSSASetChanstats:
Inheritance graph
Collaboration diagram for CommandNSSASetChanstats:
Collaboration graph

Public Member Functions

 CommandNSSASetChanstats (Module *creator)
void Execute (CommandSource &source, const std::vector< Anope::string > &params) anope_override
bool OnHelp (CommandSource &source, const Anope::string &) anope_override
- Public Member Functions inherited from CommandNSSetChanstats
 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, bool saset=false)
- Public Member Functions inherited from Command
virtual ~Command ()
bool AllowUnregistered () const
bool RequireUser () const
virtual const Anope::string GetDesc (CommandSource &source) const
virtual void OnServHelp (CommandSource &source)
virtual void OnSyntaxError (CommandSource &source, const Anope::string &subcommand)
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Static Public Member Functions inherited from Command
static void Run (CommandSource &source, const Anope::string &message)
static bool FindCommandFromService (const Anope::string &command_service, BotInfo *&bi, Anope::string &name)
- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Command
size_t max_params
size_t min_params
- Data Fields inherited from Service
Anope::string type
Anope::string name
- Protected Member Functions inherited from Command
 Command (Module *owner, const Anope::string &sname, size_t min_params, size_t max_params=0)
void SetDesc (const Anope::string &d)
void ClearSyntax ()
void SetSyntax (const Anope::string &s)
void SendSyntax (CommandSource &)
void AllowUnregistered (bool b)
void RequireUser (bool b)

Detailed Description

Definition at line 116 of file m_chanstats.cpp.

Constructor & Destructor Documentation

CommandNSSASetChanstats::CommandNSSASetChanstats ( Module creator)

Definition at line 119 of file m_chanstats.cpp.

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

Member Function Documentation

void CommandNSSASetChanstats::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 

Execute this command.

sourceThe source
paramsCommand parameters

Reimplemented from CommandNSSetChanstats.

Definition at line 125 of file m_chanstats.cpp.

References CommandNSSetChanstats::Run().

bool CommandNSSASetChanstats::OnHelp ( CommandSource source,
const Anope::string subcommand 

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

sourceThe source
subcommandThe 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")
true if help was provided to the user, false otherwise.

Reimplemented from CommandNSSetChanstats.

Definition at line 130 of file m_chanstats.cpp.

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

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