Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Private Attributes
Command Class Referenceabstract

#include <commands.h>

Inherits Service.

Inherited by CommandBSAct, CommandBSAssign, CommandBSBadwords, CommandBSBot, CommandBSBotList, CommandBSInfo, CommandBSKick, CommandBSKickBase, CommandBSSay, CommandBSSet, CommandBSSetBanExpire, CommandBSSetDontKickOps, CommandBSSetDontKickVoices, CommandBSSetFantasy, CommandBSSetGreet, CommandBSSetNoBot, CommandBSSetPrivate, CommandBSUnassign, CommandCSAccess, CommandCSAKick, CommandCSBan, CommandCSClone, CommandCSDown, CommandCSDrop, CommandCSEnforce, CommandCSFlags, CommandCSGetKey, CommandCSGStats, CommandCSGTop, CommandCSGTop10, CommandCSInfo, CommandCSInvite, CommandCSKick, CommandCSLevels, CommandCSList, CommandCSLog, CommandCSMode, CommandCSModes, CommandCSRegister, CommandCSSet, CommandCSSetAutoOp, CommandCSSetBanType, CommandCSSetChanstats, CommandCSSetDescription, CommandCSSetFounder, CommandCSSetKeepModes, CommandCSSetKeepTopic, CommandCSSetMisc, CommandCSSetNoexpire, CommandCSSetPeace, CommandCSSetPersist, CommandCSSetPrivate, CommandCSSetRestricted, CommandCSSetSecure, CommandCSSetSecureFounder, CommandCSSetSecureOps, CommandCSSetSignKick, CommandCSSetSuccessor, CommandCSStats, CommandCSStatus, CommandCSSuspend, CommandCSSync, CommandCSTop, CommandCSTop10, CommandCSTopic, CommandCSUnban, CommandCSUnSuspend, CommandCSUp, CommandCSXOP, CommandEntryMessage, CommandGLGlobal, CommandHelp, CommandHSActivate, CommandHSDel, CommandHSDelAll, CommandHSGroup, CommandHSList, CommandHSOff, CommandHSOn, CommandHSReject, CommandHSRequest, CommandHSSet, CommandHSSetAll, CommandHSWaiting, CommandMSCancel, CommandMSCheck, CommandMSDel, CommandMSIgnore, CommandMSInfo, CommandMSList, CommandMSRead, CommandMSRSend, CommandMSSend, CommandMSSendAll, CommandMSSet, CommandMSStaff, CommandNSAccess, CommandNSAJoin, CommandNSAList, CommandNSCert, CommandNSConfirm, CommandNSDrop, CommandNSGetEMail, CommandNSGetPass, CommandNSGList, CommandNSGroup, CommandNSIdentify, CommandNSInfo, CommandNSList, CommandNSLogout, CommandNSRecover, CommandNSRegister, CommandNSResend, CommandNSResetPass, CommandNSSASet, CommandNSSASetNoexpire, CommandNSSASetPassword, CommandNSSet, CommandNSSetAutoOp, CommandNSSetChanstats, CommandNSSetDisplay, CommandNSSetEmail, CommandNSSetGreet, CommandNSSetHide, CommandNSSetKeepModes, CommandNSSetKill, CommandNSSetLanguage, CommandNSSetMessage, CommandNSSetMisc, CommandNSSetPassword, CommandNSSetPrivate, CommandNSSetSecure, CommandNSStatus, CommandNSSuspend, CommandNSUngroup, CommandNSUnSuspend, CommandNSUpdate, CommandOSAKill, CommandOSChanKill, CommandOSChanList, CommandOSConfig, CommandOSDefcon, CommandOSDNS, CommandOSException, CommandOSForbid, CommandOSIgnore, CommandOSInfo, CommandOSJupe, CommandOSKick, CommandOSKill, CommandOSLogin, CommandOSLogout, CommandOSLogSearch, CommandOSMode, CommandOSModInfo, CommandOSModList, CommandOSModLoad, CommandOSModReLoad, CommandOSModUnLoad, CommandOSNOOP, CommandOSOLine, CommandOSOper, CommandOSQuit, CommandOSReload, CommandOSRestart, CommandOSSeen, CommandOSSession, CommandOSSet, CommandOSShutdown, CommandOSStats, CommandOSSVSJoin, CommandOSSVSNick, CommandOSSVSPart, CommandOSSXLineBase, CommandOSUMode, CommandOSUpdate, CommandOSUserList, CommandSeen, NewsBase, and RewriteCommand.

Collaboration diagram for Command:
Collaboration graph
[legend]

Public Member Functions

virtual ~Command ()
 
bool AllowUnregistered () const
 
bool RequireUser () const
 
virtual const Anope::string GetDesc (CommandSource &source) const
 
virtual void Execute (CommandSource &source, const std::vector< Anope::string > &params)=0
 
virtual void OnServHelp (CommandSource &source)
 
virtual bool OnHelp (CommandSource &source, const Anope::string &subcommand)
 
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)
 

Static Public Member Functions

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

size_t max_params
 
size_t min_params
 
Modulemodule
 
- Data Fields inherited from Service
Moduleowner
 
Anope::string type
 
Anope::string name
 

Protected Member Functions

 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)
 

Private Attributes

Anope::string desc
 
std::vector< Anope::stringsyntax
 
bool allow_unregistered
 
bool require_user
 

Detailed Description

Every services command is a class, inheriting from Command.

Definition at line 92 of file commands.h.

Constructor & Destructor Documentation

Command::Command ( Module owner,
const Anope::string sname,
size_t  min_params,
size_t  max_params = 0 
)
protected

Create a new command.

Parameters
ownerThe owner of the command
snameThe command name
min_paramsThe minimum number of parameters the parser will require to execute this command
max_paramsThe maximum number of parameters the parser will create, after max_params, all will be combined into the last argument. NOTE: If max_params is not set (default), there is no limit to the max number of params.

Definition at line 121 of file command.cpp.

References allow_unregistered, and require_user.

Command::~Command ( )
virtual

Definition at line 126 of file command.cpp.

Member Function Documentation

void Command::AllowUnregistered ( bool  b)
protected
bool Command::AllowUnregistered ( ) const
void Command::ClearSyntax ( )
protected
virtual void Command::Execute ( CommandSource source,
const std::vector< Anope::string > &  params 
)
pure virtual

Execute this command.

Parameters
sourceThe source
paramsCommand parameters

Implemented in CommandNSSASetNoexpire, CommandNSSASetSecure, CommandCSSetNoexpire, CommandNSSetSecure, CommandNSSASetMessage, CommandCSSetSuccessor, CommandNSSetMessage, CommandCSSetSignKick, CommandNSSASetLanguage, CommandBSSetDontKickVoices, CommandCSSetSecureOps, CommandNSSetLanguage, CommandBSSetDontKickOps, CommandCSSetSecureFounder, CommandCSModes, CommandBSKickUnderlines, CommandNSSASetKill, CommandCSLevels, CommandBSKickReverses, CommandNSSetKill, CommandCSSetSecure, CommandCSMode, CommandOSDNS, CommandCSSetRestricted, CommandBSKickRepeat, CommandNSSASetKeepModes, CommandBSKickItalics, CommandNSSetKeepModes, CommandOSException, CommandNSSASetEmail, CommandNSSetEmail, CommandCSAccess, CommandBSKickFlood, CommandCSXOP, CommandCSSetPersist, CommandBSKickColors, CommandCSAKick, CommandCSSetPeace, CommandNSSASetDisplay, CommandOSAKill, CommandCSFlags, CommandBSBadwords, CommandBSKickCaps, CommandNSSetDisplay, CommandOSRandomNews, CommandOSIgnore, CommandCSSetKeepModes, CommandBSKickBolds, CommandOSOperNews, CommandOSLogonNews, CommandNSSASetAutoOp, CommandHSWaiting, CommandBSKickBadwords, CommandNSGList, NewsBase, CommandNSResend, CommandNSSetAutoOp, CommandCSSetFounder, CommandNSCert, CommandSeen, CommandBSBot, CommandBSKickAMSG, CommandNSSASetPrivate, CommandOSSession, CommandNSSASetHide, CommandHSReject, CommandNSAJoin, CommandCSEnforce, CommandOSSXLineBase, CommandNSUngroup, CommandNSSetPrivate, CommandNSSetHide, CommandMSSet, CommandOSStats, CommandCSSetDescription, CommandEntryMessage, CommandHSActivate, CommandCSSetPrivate, CommandOSDefcon, CommandOSSet, CommandNSSASetMisc, CommandNSSASetPassword, CommandBSKickBase, CommandNSUnSuspend, CommandCSTopic, CommandBSSetNoBot, CommandCSUnSuspend, CommandBSSetPrivate, CommandOSForbid, CommandNSSASetGreet, CommandCSDown, CommandOSUMode, CommandCSSetBanType, CommandNSSetMisc, CommandNSRecover, CommandOSModUnLoad, CommandOSUserList, CommandHSSetAll, CommandOSSVSPart, CommandBSKick, CommandNSSASetChanstats, CommandOSSeen, CommandNSSetGreet, CommandNSSetPassword, CommandNSRegister, CommandCSLog, RewriteCommand, CommandMSRead, CommandNSAccess, CommandOSInfo, CommandNSSetChanstats, CommandCSSetMisc, CommandBSUnassign, CommandOSModList, CommandBSAct, CommandHSRequest, CommandNSGroup, CommandBSSetBanExpire, CommandOSSVSJoin, CommandOSOper, CommandOSShutdown, CommandCSGTop10, CommandCSSetAutoOp, CommandNSSASet, CommandOSLogout, CommandNSIdentify, CommandCSGTop, CommandNSSuspend, CommandHSDelAll, CommandCSSuspend, CommandOSModReLoad, CommandCSGStats, CommandCSTop10, CommandCSUp, CommandOSRestart, CommandBSInfo, CommandHSGroup, CommandMSDel, CommandCSBan, CommandCSStats, CommandCSTop, CommandHelp, CommandOSLogSearch, CommandMSRSend, CommandMSSend, CommandMSSendAll, CommandMSStaff, CommandNSAList, CommandNSGetEMail, CommandNSConfirm, CommandNSResetPass, CommandGLGlobal, CommandMSIgnore, CommandNSLogout, CommandOSChanKill, CommandCSClone, CommandCSInfo, CommandCSKick, CommandCSList, CommandCSSet, CommandCSSetKeepTopic, CommandNSInfo, CommandNSStatus, CommandOSLogin, CommandOSMode, CommandOSNOOP, CommandBSAssign, CommandBSSay, CommandBSSet, CommandCSDrop, CommandCSGetKey, CommandCSInvite, CommandCSRegister, CommandCSStatus, CommandCSSync, CommandCSUnban, CommandBSSetGreet, CommandHSDel, CommandHSList, CommandHSOff, CommandHSOn, CommandHSSet, CommandMSCancel, CommandMSCheck, CommandMSInfo, CommandMSList, CommandNSDrop, CommandNSGetPass, CommandNSList, CommandNSSet, CommandNSUpdate, CommandOSConfig, CommandOSJupe, CommandOSKick, CommandOSKill, CommandOSChanList, CommandOSModInfo, CommandOSModLoad, CommandOSOLine, CommandOSSVSNick, CommandBSSetFantasy, CommandBSBotList, CommandOSReload, CommandOSQuit, CommandOSUpdate, and CommandCSSetChanstats.

Referenced by Fantasy::OnPrivmsg(), Run(), and WebPanel::RunCommand().

bool Command::FindCommandFromService ( const Anope::string command_service,
BotInfo *&  bi,
Anope::string name 
)
static

Looks up a command name from the service name. Note that if the same command exists multiple places this will return the first one encountered

Parameters
command_serviceThe command service to lookup, eg, nickserv/register
botIf found, is set to the bot the command is on, eg NickServ
nameIf found, is set to the comand name, eg REGISTER
Returns
true if the given command service exists

Definition at line 287 of file command.cpp.

References BotListByNick, BotInfo::commands, and CommandInfo::name.

Referenced by MemoListCallback::DoRead(), CommandCSRegister::OnHelp(), CommandCSSetPrivate::OnHelp(), CommandCSXOP::OnHelp(), and CommandCSAccess::OnHelp().

const Anope::string Command::GetDesc ( CommandSource source) const
virtual

Get the command description

Parameters
sourceThe source wanting the command description
Returns
The commands description

Reimplemented in CommandCSModes, CommandCSXOP, CommandOSSXLineBase, CommandBSInfo, CommandOSLogout, and CommandOSLogin.

Definition at line 179 of file command.cpp.

References desc.

bool Command::OnHelp ( CommandSource source,
const Anope::string subcommand 
)
virtual

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

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

Reimplemented in CommandNSSASetNoexpire, CommandCSSetNoexpire, CommandNSSASetSecure, CommandNSSetSecure, CommandCSSetSuccessor, CommandNSSASetMessage, CommandCSSetSignKick, CommandNSSetMessage, CommandBSSetDontKickVoices, CommandCSSetSecureOps, CommandNSSASetLanguage, CommandCSModes, CommandBSSetDontKickOps, CommandNSSetLanguage, CommandCSSetSecureFounder, CommandCSLevels, CommandBSKickUnderlines, CommandNSSASetKill, CommandCSSetSecure, CommandBSKickReverses, CommandCSMode, CommandNSSetKill, CommandOSDNS, CommandBSKickRepeat, CommandCSSetRestricted, CommandOSSQLine, CommandNSSASetKeepModes, CommandBSKickItalics, CommandCSSetPersist, CommandNSSetKeepModes, CommandOSException, CommandBSKickFlood, CommandCSAccess, CommandNSSASetEmail, CommandCSXOP, CommandNSSetEmail, CommandBSKickColors, CommandCSAKick, CommandCSSetPeace, CommandBSKickCaps, CommandOSSNLine, CommandBSBadwords, CommandCSFlags, CommandOSAKill, CommandOSForbid, CommandNSSASetDisplay, CommandCSSetKeepModes, CommandNSSetDisplay, CommandOSIgnore, CommandOSRandomNews, CommandSeen, CommandNSGList, CommandBSKickBolds, CommandHSWaiting, CommandBSBot, CommandOSOperNews, CommandCSSetFounder, CommandNSCert, CommandNSResend, CommandBSKickBadwords, CommandOSLogonNews, CommandNSSASetAutoOp, NewsBase, CommandNSAJoin, CommandNSSetAutoOp, CommandHSReject, CommandNSUngroup, CommandBSKickAMSG, CommandOSSession, CommandNSSASetPrivate, CommandCSEnforce, CommandCSLog, CommandOSSXLineBase, CommandCSSetDescription, CommandNSSASetHide, CommandOSInfo, CommandOSDefcon, CommandEntryMessage, CommandNSRegister, CommandNSSetPrivate, CommandOSStats, CommandMSSet, CommandCSSetPrivate, CommandOSOper, CommandNSSetHide, CommandHSActivate, CommandNSSASetPassword, CommandCSBan, CommandOSUserList, CommandCSDown, CommandHSSetAll, CommandNSUnSuspend, CommandBSSetNoBot, CommandOSSet, CommandOSModList, CommandCSClone, CommandCSUnSuspend, CommandNSRecover, CommandCSTopic, CommandBSSetPrivate, CommandNSGroup, CommandMSInfo, CommandCSSetBanType, CommandMSRead, CommandBSKickBase, CommandHSRequest, CommandOSSeen, CommandOSModUnLoad, CommandOSUMode, CommandNSAccess, CommandOSSVSPart, CommandCSSetMisc, CommandNSSASetGreet, CommandNSSetPassword, CommandNSSetMisc, CommandNSSuspend, CommandMSList, RewriteCommand, CommandBSUnassign, CommandNSList, CommandCSList, CommandBSSetBanExpire, CommandHSList, CommandBSKick, CommandCSSuspend, CommandNSSASetChanstats, CommandNSSetGreet, CommandOSLogSearch, CommandBSAct, CommandOSConfig, CommandOSMode, CommandNSInfo, CommandCSSetAutoOp, CommandMSDel, CommandCSUp, CommandNSAList, CommandOSModReLoad, CommandCSKick, CommandOSSVSJoin, CommandNSSetChanstats, CommandBSInfo, CommandMSIgnore, CommandCSUnban, CommandOSChanList, CommandHSSet, CommandNSIdentify, CommandOSChanKill, CommandOSLogout, CommandHSDelAll, CommandCSInvite, CommandCSStatus, CommandOSShutdown, CommandCSRegister, CommandNSSASet, CommandMSRSend, CommandNSConfirm, CommandBSAssign, CommandCSInfo, CommandCSDrop, CommandHSGroup, CommandCSSetKeepTopic, CommandBSSetGreet, CommandOSModInfo, CommandBSSetFantasy, CommandBSSay, CommandMSCheck, CommandOSNOOP, CommandOSSVSNick, CommandNSLogout, CommandBSBotList, CommandMSCancel, CommandOSRestart, CommandNSDrop, CommandNSGetEMail, CommandCSGetKey, CommandMSSend, CommandOSJupe, CommandOSKick, CommandOSOLine, CommandNSStatus, CommandHSOn, CommandOSLogin, CommandCSSetChanstats, CommandMSSendAll, CommandNSGetPass, CommandNSResetPass, CommandCSSync, CommandHSDel, CommandMSStaff, CommandOSKill, CommandOSReload, CommandOSModLoad, CommandHSOff, CommandNSUpdate, CommandGLGlobal, CommandOSQuit, CommandOSUpdate, CommandCSSet, CommandNSSet, and CommandBSSet.

Definition at line 189 of file command.cpp.

Referenced by CommandHelp::Execute().

void Command::OnServHelp ( CommandSource source)
virtual
void Command::OnSyntaxError ( CommandSource source,
const Anope::string subcommand 
)
virtual

Requested when the user provides bad syntax to this command (not enough params, etc).

Parameters
sourceThe source
subcommandThe subcommand the user tried to use

Reimplemented in CommandNSConfirm.

Definition at line 191 of file command.cpp.

References Anope::string::c_str(), CommandSource::command, BotInfo::commands, MORE_INFO, User::nick, CommandSource::Reply(), SendSyntax(), and CommandSource::service.

Referenced by CommandBSKickBase::CheckArguments(), CommandNSAccess::DoAdd(), CommandOSAKill::DoAdd(), CommandCSXOP::DoAdd(), NewsBase::DoAdd(), CommandOSIgnore::DoAdd(), CommandOSException::DoAdd(), CommandBSBot::DoChange(), CommandNSAccess::DoDel(), CommandNSCert::DoDel(), NewsBase::DoDel(), CommandOSAKill::DoDel(), CommandBSBot::DoDel(), CommandCSXOP::DoDel(), CommandOSIgnore::DoDel(), CommandOSException::DoDel(), CommandMSSet::DoLimit(), CommandCSMode::DoLock(), CommandCSFlags::DoModify(), CommandOSException::DoMove(), NewsBase::DoNews(), CommandMSSet::DoNotify(), CommandCSLevels::DoSet(), CommandOSSet::DoSetDebug(), CommandOSSet::DoSetNoExpire(), CommandOSSet::DoSetReadOnly(), CommandOSSet::DoSetSuperAdmin(), CommandCSSetChanstats::Execute(), CommandNSSet::Execute(), CommandOSConfig::Execute(), CommandBSSetGreet::Execute(), CommandOSOLine::Execute(), CommandHSSet::Execute(), CommandMSList::Execute(), CommandBSSay::Execute(), CommandBSSetFantasy::Execute(), CommandBSSet::Execute(), CommandCSSetKeepTopic::Execute(), CommandCSClone::Execute(), CommandOSNOOP::Execute(), CommandCSSet::Execute(), CommandMSIgnore::Execute(), CommandNSLogout::Execute(), CommandOSChanKill::Execute(), CommandOSLogSearch::Execute(), CommandMSDel::Execute(), CommandNSSASet::Execute(), CommandCSSetAutoOp::Execute(), CommandOSOper::Execute(), CommandHSRequest::Execute(), CommandOSInfo::Execute(), CommandMSRead::Execute(), CommandNSAccess::Execute(), CommandCSLog::Execute(), CommandNSRegister::Execute(), CommandOSSeen::Execute(), CommandBSKick::Execute(), CommandHSSetAll::Execute(), CommandOSForbid::Execute(), CommandBSSetPrivate::Execute(), CommandBSSetNoBot::Execute(), CommandOSSet::Execute(), CommandOSDefcon::Execute(), CommandCSSetPrivate::Execute(), CommandEntryMessage::Execute(), CommandMSSet::Execute(), CommandOSSXLineBase::Execute(), CommandCSEnforce::Execute(), CommandNSAJoin::Execute(), CommandOSSession::Execute(), CommandBSBot::Execute(), CommandNSCert::Execute(), CommandCSSetKeepModes::Execute(), CommandOSIgnore::Execute(), CommandBSBadwords::Execute(), CommandCSFlags::Execute(), CommandOSAKill::Execute(), CommandCSSetPeace::Execute(), CommandCSAKick::Execute(), CommandCSSetPersist::Execute(), CommandCSXOP::Execute(), CommandBSKickFlood::Execute(), CommandCSAccess::Execute(), CommandOSException::Execute(), CommandBSKickRepeat::Execute(), CommandCSSetRestricted::Execute(), CommandOSDNS::Execute(), CommandCSMode::Execute(), CommandCSSetSecure::Execute(), CommandCSLevels::Execute(), CommandCSSetSecureFounder::Execute(), CommandBSSetDontKickOps::Execute(), CommandCSSetSecureOps::Execute(), CommandBSSetDontKickVoices::Execute(), CommandCSSetSignKick::Execute(), CommandCSSetNoexpire::Execute(), CommandNSSASetNoexpire::Execute(), CommandOSSNLine::OnAdd(), CommandOSSQLine::OnAdd(), CommandOSSXLineBase::OnDel(), CommandBSKickBase::Process(), CommandNSSetChanstats::Run(), CommandNSSetHide::Run(), Run(), CommandNSSetPrivate::Run(), CommandNSSetAutoOp::Run(), CommandNSSetKeepModes::Run(), CommandNSSetKill::Run(), CommandNSSetLanguage::Run(), CommandNSSetMessage::Run(), and CommandNSSetSecure::Run().

void Command::RequireUser ( bool  b)
protected

Definition at line 174 of file command.cpp.

References require_user.

Referenced by Run().

bool Command::RequireUser ( ) const
void Command::Run ( CommandSource source,
const Anope::string message 
)
static
void Command::SendSyntax ( CommandSource source)
protected

Definition at line 145 of file command.cpp.

References _, Anope::string::c_str(), CommandSource::command, CommandSource::GetAccount(), Anope::string::length(), CommandSource::Reply(), syntax, and Language::Translate().

Referenced by CommandCSBan::Execute(), CommandNSGroup::Execute(), CommandOSSeen::Execute(), CommandCSTopic::Execute(), CommandBSSet::OnHelp(), CommandCSSet::OnHelp(), CommandNSSet::OnHelp(), CommandOSQuit::OnHelp(), CommandOSUpdate::OnHelp(), CommandGLGlobal::OnHelp(), CommandNSUpdate::OnHelp(), CommandHSOff::OnHelp(), CommandOSModLoad::OnHelp(), CommandOSReload::OnHelp(), CommandHSDel::OnHelp(), CommandOSKill::OnHelp(), CommandMSStaff::OnHelp(), CommandCSSync::OnHelp(), CommandNSGetPass::OnHelp(), CommandNSResetPass::OnHelp(), CommandMSSendAll::OnHelp(), CommandHSOn::OnHelp(), CommandOSLogin::OnHelp(), CommandCSSetChanstats::OnHelp(), CommandNSStatus::OnHelp(), CommandOSJupe::OnHelp(), CommandOSKick::OnHelp(), CommandOSOLine::OnHelp(), CommandCSGetKey::OnHelp(), CommandMSSend::OnHelp(), CommandNSGetEMail::OnHelp(), CommandNSDrop::OnHelp(), CommandOSRestart::OnHelp(), CommandBSBotList::OnHelp(), CommandMSCancel::OnHelp(), CommandNSLogout::OnHelp(), CommandOSNOOP::OnHelp(), CommandOSSVSNick::OnHelp(), CommandMSCheck::OnHelp(), CommandBSSay::OnHelp(), CommandCSSetKeepTopic::OnHelp(), CommandBSSetGreet::OnHelp(), CommandOSModInfo::OnHelp(), CommandBSSetFantasy::OnHelp(), CommandHSGroup::OnHelp(), CommandCSDrop::OnHelp(), CommandCSInfo::OnHelp(), CommandBSAssign::OnHelp(), CommandNSConfirm::OnHelp(), CommandMSRSend::OnHelp(), CommandNSSASet::OnHelp(), CommandCSRegister::OnHelp(), CommandOSShutdown::OnHelp(), CommandCSStatus::OnHelp(), CommandCSInvite::OnHelp(), CommandHSDelAll::OnHelp(), CommandOSLogout::OnHelp(), CommandOSChanKill::OnHelp(), CommandNSIdentify::OnHelp(), CommandHSSet::OnHelp(), CommandOSChanList::OnHelp(), CommandCSUnban::OnHelp(), CommandMSIgnore::OnHelp(), CommandBSInfo::OnHelp(), CommandNSSetChanstats::OnHelp(), CommandOSSVSJoin::OnHelp(), CommandCSKick::OnHelp(), CommandOSModReLoad::OnHelp(), CommandNSAList::OnHelp(), CommandCSUp::OnHelp(), CommandMSDel::OnHelp(), CommandCSSetAutoOp::OnHelp(), CommandNSInfo::OnHelp(), CommandBSAct::OnHelp(), CommandOSConfig::OnHelp(), CommandOSMode::OnHelp(), CommandOSLogSearch::OnHelp(), CommandNSSetGreet::OnHelp(), CommandCSSuspend::OnHelp(), CommandNSSASetChanstats::OnHelp(), CommandBSKick::OnHelp(), CommandHSList::OnHelp(), CommandBSSetBanExpire::OnHelp(), CommandCSList::OnHelp(), CommandBSUnassign::OnHelp(), CommandNSList::OnHelp(), CommandMSList::OnHelp(), CommandNSSuspend::OnHelp(), CommandNSSetPassword::OnHelp(), CommandNSSASetGreet::OnHelp(), CommandOSSVSPart::OnHelp(), CommandNSAccess::OnHelp(), CommandOSUMode::OnHelp(), CommandOSModUnLoad::OnHelp(), CommandOSSeen::OnHelp(), CommandHSRequest::OnHelp(), CommandMSRead::OnHelp(), CommandCSSetBanType::OnHelp(), CommandMSInfo::OnHelp(), CommandNSGroup::OnHelp(), CommandBSSetPrivate::OnHelp(), CommandCSTopic::OnHelp(), CommandCSUnSuspend::OnHelp(), CommandNSRecover::OnHelp(), CommandCSClone::OnHelp(), CommandOSModList::OnHelp(), CommandOSSet::OnHelp(), CommandBSSetNoBot::OnHelp(), CommandNSUnSuspend::OnHelp(), CommandHSSetAll::OnHelp(), CommandCSDown::OnHelp(), CommandOSUserList::OnHelp(), CommandCSBan::OnHelp(), CommandNSSASetPassword::OnHelp(), CommandHSActivate::OnHelp(), CommandNSSetHide::OnHelp(), CommandOSOper::OnHelp(), CommandCSSetPrivate::OnHelp(), CommandMSSet::OnHelp(), CommandOSStats::OnHelp(), CommandNSSetPrivate::OnHelp(), CommandNSRegister::OnHelp(), CommandEntryMessage::OnHelp(), CommandOSDefcon::OnHelp(), CommandOSInfo::OnHelp(), CommandCSSetDescription::OnHelp(), CommandNSSASetHide::OnHelp(), CommandCSLog::OnHelp(), CommandCSEnforce::OnHelp(), CommandNSSASetPrivate::OnHelp(), CommandOSSession::OnHelp(), CommandBSKickAMSG::OnHelp(), CommandNSUngroup::OnHelp(), CommandHSReject::OnHelp(), CommandNSSetAutoOp::OnHelp(), CommandNSAJoin::OnHelp(), CommandNSSASetAutoOp::OnHelp(), CommandOSLogonNews::OnHelp(), CommandBSKickBadwords::OnHelp(), CommandNSCert::OnHelp(), CommandNSResend::OnHelp(), CommandCSSetFounder::OnHelp(), CommandBSBot::OnHelp(), CommandOSOperNews::OnHelp(), CommandHSWaiting::OnHelp(), CommandBSKickBolds::OnHelp(), CommandSeen::OnHelp(), CommandOSRandomNews::OnHelp(), CommandOSIgnore::OnHelp(), CommandNSSetDisplay::OnHelp(), CommandCSSetKeepModes::OnHelp(), CommandNSSASetDisplay::OnHelp(), CommandOSForbid::OnHelp(), CommandOSAKill::OnHelp(), CommandCSFlags::OnHelp(), CommandBSBadwords::OnHelp(), CommandOSSNLine::OnHelp(), CommandBSKickCaps::OnHelp(), CommandCSSetPeace::OnHelp(), CommandCSAKick::OnHelp(), CommandBSKickColors::OnHelp(), CommandNSSetEmail::OnHelp(), CommandCSXOP::OnHelp(), CommandNSSASetEmail::OnHelp(), CommandCSAccess::OnHelp(), CommandBSKickFlood::OnHelp(), CommandOSException::OnHelp(), CommandNSSetKeepModes::OnHelp(), CommandCSSetPersist::OnHelp(), CommandBSKickItalics::OnHelp(), CommandNSSASetKeepModes::OnHelp(), CommandOSSQLine::OnHelp(), CommandCSSetRestricted::OnHelp(), CommandBSKickRepeat::OnHelp(), CommandOSDNS::OnHelp(), CommandNSSetKill::OnHelp(), CommandCSMode::OnHelp(), CommandBSKickReverses::OnHelp(), CommandCSSetSecure::OnHelp(), CommandNSSASetKill::OnHelp(), CommandBSKickUnderlines::OnHelp(), CommandCSLevels::OnHelp(), CommandCSSetSecureFounder::OnHelp(), CommandNSSetLanguage::OnHelp(), CommandBSSetDontKickOps::OnHelp(), CommandCSModes::OnHelp(), CommandNSSASetLanguage::OnHelp(), CommandCSSetSecureOps::OnHelp(), CommandBSSetDontKickVoices::OnHelp(), CommandNSSetMessage::OnHelp(), CommandCSSetSignKick::OnHelp(), CommandNSSASetMessage::OnHelp(), CommandCSSetSuccessor::OnHelp(), CommandNSSetSecure::OnHelp(), CommandNSSASetSecure::OnHelp(), CommandCSSetNoexpire::OnHelp(), CommandNSSASetNoexpire::OnHelp(), and OnSyntaxError().

void Command::SetDesc ( const Anope::string d)
protected

Definition at line 130 of file command.cpp.

References desc.

Referenced by CommandBSAct::CommandBSAct(), CommandBSAssign::CommandBSAssign(), CommandBSBadwords::CommandBSBadwords(), CommandBSBot::CommandBSBot(), CommandBSBotList::CommandBSBotList(), CommandBSKick::CommandBSKick(), CommandBSKickAMSG::CommandBSKickAMSG(), CommandBSKickBadwords::CommandBSKickBadwords(), CommandBSKickBolds::CommandBSKickBolds(), CommandBSKickCaps::CommandBSKickCaps(), CommandBSKickColors::CommandBSKickColors(), CommandBSKickFlood::CommandBSKickFlood(), CommandBSKickItalics::CommandBSKickItalics(), CommandBSKickRepeat::CommandBSKickRepeat(), CommandBSKickReverses::CommandBSKickReverses(), CommandBSKickUnderlines::CommandBSKickUnderlines(), CommandBSSay::CommandBSSay(), CommandBSSet::CommandBSSet(), CommandBSSetBanExpire::CommandBSSetBanExpire(), CommandBSSetDontKickOps::CommandBSSetDontKickOps(), CommandBSSetDontKickVoices::CommandBSSetDontKickVoices(), CommandBSSetFantasy::CommandBSSetFantasy(), CommandBSSetGreet::CommandBSSetGreet(), CommandBSSetNoBot::CommandBSSetNoBot(), CommandBSSetPrivate::CommandBSSetPrivate(), CommandBSUnassign::CommandBSUnassign(), CommandCSAccess::CommandCSAccess(), CommandCSAKick::CommandCSAKick(), CommandCSBan::CommandCSBan(), CommandCSClone::CommandCSClone(), CommandCSDown::CommandCSDown(), CommandCSDrop::CommandCSDrop(), CommandCSEnforce::CommandCSEnforce(), CommandCSFlags::CommandCSFlags(), CommandCSGetKey::CommandCSGetKey(), CommandCSGStats::CommandCSGStats(), CommandCSGTop::CommandCSGTop(), CommandCSGTop10::CommandCSGTop10(), CommandCSInfo::CommandCSInfo(), CommandCSInvite::CommandCSInvite(), CommandCSKick::CommandCSKick(), CommandCSLevels::CommandCSLevels(), CommandCSList::CommandCSList(), CommandCSLog::CommandCSLog(), CommandCSMode::CommandCSMode(), CommandCSRegister::CommandCSRegister(), CommandCSSet::CommandCSSet(), CommandCSSetAutoOp::CommandCSSetAutoOp(), CommandCSSetBanType::CommandCSSetBanType(), CommandCSSetChanstats::CommandCSSetChanstats(), CommandCSSetDescription::CommandCSSetDescription(), CommandCSSetFounder::CommandCSSetFounder(), CommandCSSetKeepModes::CommandCSSetKeepModes(), CommandCSSetKeepTopic::CommandCSSetKeepTopic(), CommandCSSetNoexpire::CommandCSSetNoexpire(), CommandCSSetPeace::CommandCSSetPeace(), CommandCSSetPersist::CommandCSSetPersist(), CommandCSSetPrivate::CommandCSSetPrivate(), CommandCSSetRestricted::CommandCSSetRestricted(), CommandCSSetSecure::CommandCSSetSecure(), CommandCSSetSecureFounder::CommandCSSetSecureFounder(), CommandCSSetSecureOps::CommandCSSetSecureOps(), CommandCSSetSignKick::CommandCSSetSignKick(), CommandCSSetSuccessor::CommandCSSetSuccessor(), CommandCSStats::CommandCSStats(), CommandCSStatus::CommandCSStatus(), CommandCSSuspend::CommandCSSuspend(), CommandCSSync::CommandCSSync(), CommandCSTop::CommandCSTop(), CommandCSTop10::CommandCSTop10(), CommandCSTopic::CommandCSTopic(), CommandCSUnban::CommandCSUnban(), CommandCSUnSuspend::CommandCSUnSuspend(), CommandCSUp::CommandCSUp(), CommandEntryMessage::CommandEntryMessage(), CommandGLGlobal::CommandGLGlobal(), CommandHelp::CommandHelp(), CommandHSActivate::CommandHSActivate(), CommandHSDel::CommandHSDel(), CommandHSDelAll::CommandHSDelAll(), CommandHSGroup::CommandHSGroup(), CommandHSList::CommandHSList(), CommandHSOff::CommandHSOff(), CommandHSOn::CommandHSOn(), CommandHSReject::CommandHSReject(), CommandHSRequest::CommandHSRequest(), CommandHSSet::CommandHSSet(), CommandHSSetAll::CommandHSSetAll(), CommandHSWaiting::CommandHSWaiting(), CommandMSCancel::CommandMSCancel(), CommandMSCheck::CommandMSCheck(), CommandMSDel::CommandMSDel(), CommandMSIgnore::CommandMSIgnore(), CommandMSInfo::CommandMSInfo(), CommandMSList::CommandMSList(), CommandMSRead::CommandMSRead(), CommandMSRSend::CommandMSRSend(), CommandMSSend::CommandMSSend(), CommandMSSendAll::CommandMSSendAll(), CommandMSSet::CommandMSSet(), CommandMSStaff::CommandMSStaff(), CommandNSAccess::CommandNSAccess(), CommandNSAJoin::CommandNSAJoin(), CommandNSAList::CommandNSAList(), CommandNSCert::CommandNSCert(), CommandNSConfirm::CommandNSConfirm(), CommandNSDrop::CommandNSDrop(), CommandNSGetEMail::CommandNSGetEMail(), CommandNSGetPass::CommandNSGetPass(), CommandNSGList::CommandNSGList(), CommandNSGroup::CommandNSGroup(), CommandNSIdentify::CommandNSIdentify(), CommandNSInfo::CommandNSInfo(), CommandNSList::CommandNSList(), CommandNSLogout::CommandNSLogout(), CommandNSRecover::CommandNSRecover(), CommandNSRegister::CommandNSRegister(), CommandNSResend::CommandNSResend(), CommandNSResetPass::CommandNSResetPass(), CommandNSSASet::CommandNSSASet(), CommandNSSASetNoexpire::CommandNSSASetNoexpire(), CommandNSSASetPassword::CommandNSSASetPassword(), CommandNSSet::CommandNSSet(), CommandNSSetAutoOp::CommandNSSetAutoOp(), CommandNSSetChanstats::CommandNSSetChanstats(), CommandNSSetDisplay::CommandNSSetDisplay(), CommandNSSetEmail::CommandNSSetEmail(), CommandNSSetGreet::CommandNSSetGreet(), CommandNSSetHide::CommandNSSetHide(), CommandNSSetKeepModes::CommandNSSetKeepModes(), CommandNSSetKill::CommandNSSetKill(), CommandNSSetLanguage::CommandNSSetLanguage(), CommandNSSetMessage::CommandNSSetMessage(), CommandNSSetPassword::CommandNSSetPassword(), CommandNSSetPrivate::CommandNSSetPrivate(), CommandNSSetSecure::CommandNSSetSecure(), CommandNSStatus::CommandNSStatus(), CommandNSSuspend::CommandNSSuspend(), CommandNSUngroup::CommandNSUngroup(), CommandNSUnSuspend::CommandNSUnSuspend(), CommandNSUpdate::CommandNSUpdate(), CommandOSAKill::CommandOSAKill(), CommandOSChanKill::CommandOSChanKill(), CommandOSChanList::CommandOSChanList(), CommandOSConfig::CommandOSConfig(), CommandOSDefcon::CommandOSDefcon(), CommandOSDNS::CommandOSDNS(), CommandOSException::CommandOSException(), CommandOSForbid::CommandOSForbid(), CommandOSIgnore::CommandOSIgnore(), CommandOSInfo::CommandOSInfo(), CommandOSJupe::CommandOSJupe(), CommandOSKick::CommandOSKick(), CommandOSKill::CommandOSKill(), CommandOSLogonNews::CommandOSLogonNews(), CommandOSLogSearch::CommandOSLogSearch(), CommandOSMode::CommandOSMode(), CommandOSModInfo::CommandOSModInfo(), CommandOSModList::CommandOSModList(), CommandOSModLoad::CommandOSModLoad(), CommandOSModReLoad::CommandOSModReLoad(), CommandOSModUnLoad::CommandOSModUnLoad(), CommandOSNOOP::CommandOSNOOP(), CommandOSOLine::CommandOSOLine(), CommandOSOper::CommandOSOper(), CommandOSOperNews::CommandOSOperNews(), CommandOSQuit::CommandOSQuit(), CommandOSRandomNews::CommandOSRandomNews(), CommandOSReload::CommandOSReload(), CommandOSRestart::CommandOSRestart(), CommandOSSeen::CommandOSSeen(), CommandOSSession::CommandOSSession(), CommandOSSet::CommandOSSet(), CommandOSShutdown::CommandOSShutdown(), CommandOSStats::CommandOSStats(), CommandOSSVSJoin::CommandOSSVSJoin(), CommandOSSVSNick::CommandOSSVSNick(), CommandOSSVSPart::CommandOSSVSPart(), CommandOSUMode::CommandOSUMode(), CommandOSUpdate::CommandOSUpdate(), CommandOSUserList::CommandOSUserList(), CommandSeen::CommandSeen(), RewriteCommand::OnServHelp(), CommandNSSetMisc::OnServHelp(), and CommandCSSetMisc::OnServHelp().

void Command::SetSyntax ( const Anope::string s)
protected

Definition at line 140 of file command.cpp.

References syntax.

Referenced by CommandBSAct::CommandBSAct(), CommandBSAssign::CommandBSAssign(), CommandBSBadwords::CommandBSBadwords(), CommandBSBot::CommandBSBot(), CommandBSInfo::CommandBSInfo(), CommandBSKick::CommandBSKick(), CommandBSKickAMSG::CommandBSKickAMSG(), CommandBSKickBadwords::CommandBSKickBadwords(), CommandBSKickBolds::CommandBSKickBolds(), CommandBSKickCaps::CommandBSKickCaps(), CommandBSKickColors::CommandBSKickColors(), CommandBSKickFlood::CommandBSKickFlood(), CommandBSKickItalics::CommandBSKickItalics(), CommandBSKickRepeat::CommandBSKickRepeat(), CommandBSKickReverses::CommandBSKickReverses(), CommandBSKickUnderlines::CommandBSKickUnderlines(), CommandBSSay::CommandBSSay(), CommandBSSet::CommandBSSet(), CommandBSSetBanExpire::CommandBSSetBanExpire(), CommandBSSetDontKickOps::CommandBSSetDontKickOps(), CommandBSSetDontKickVoices::CommandBSSetDontKickVoices(), CommandBSSetFantasy::CommandBSSetFantasy(), CommandBSSetGreet::CommandBSSetGreet(), CommandBSSetNoBot::CommandBSSetNoBot(), CommandBSSetPrivate::CommandBSSetPrivate(), CommandBSUnassign::CommandBSUnassign(), CommandCSAccess::CommandCSAccess(), CommandCSAKick::CommandCSAKick(), CommandCSBan::CommandCSBan(), CommandCSClone::CommandCSClone(), CommandCSDown::CommandCSDown(), CommandCSDrop::CommandCSDrop(), CommandCSEnforce::CommandCSEnforce(), CommandCSFlags::CommandCSFlags(), CommandCSGetKey::CommandCSGetKey(), CommandCSGStats::CommandCSGStats(), CommandCSInfo::CommandCSInfo(), CommandCSInvite::CommandCSInvite(), CommandCSKick::CommandCSKick(), CommandCSLevels::CommandCSLevels(), CommandCSList::CommandCSList(), CommandCSLog::CommandCSLog(), CommandCSMode::CommandCSMode(), CommandCSModes::CommandCSModes(), CommandCSRegister::CommandCSRegister(), CommandCSSet::CommandCSSet(), CommandCSSetAutoOp::CommandCSSetAutoOp(), CommandCSSetBanType::CommandCSSetBanType(), CommandCSSetChanstats::CommandCSSetChanstats(), CommandCSSetDescription::CommandCSSetDescription(), CommandCSSetFounder::CommandCSSetFounder(), CommandCSSetKeepModes::CommandCSSetKeepModes(), CommandCSSetKeepTopic::CommandCSSetKeepTopic(), CommandCSSetMisc::CommandCSSetMisc(), CommandCSSetNoexpire::CommandCSSetNoexpire(), CommandCSSetPeace::CommandCSSetPeace(), CommandCSSetPersist::CommandCSSetPersist(), CommandCSSetPrivate::CommandCSSetPrivate(), CommandCSSetRestricted::CommandCSSetRestricted(), CommandCSSetSecure::CommandCSSetSecure(), CommandCSSetSecureFounder::CommandCSSetSecureFounder(), CommandCSSetSecureOps::CommandCSSetSecureOps(), CommandCSSetSignKick::CommandCSSetSignKick(), CommandCSSetSuccessor::CommandCSSetSuccessor(), CommandCSStats::CommandCSStats(), CommandCSStatus::CommandCSStatus(), CommandCSSuspend::CommandCSSuspend(), CommandCSSync::CommandCSSync(), CommandCSTop::CommandCSTop(), CommandCSTop10::CommandCSTop10(), CommandCSTopic::CommandCSTopic(), CommandCSUnban::CommandCSUnban(), CommandCSUnSuspend::CommandCSUnSuspend(), CommandCSUp::CommandCSUp(), CommandCSXOP::CommandCSXOP(), CommandEntryMessage::CommandEntryMessage(), CommandGLGlobal::CommandGLGlobal(), CommandHSActivate::CommandHSActivate(), CommandHSDel::CommandHSDel(), CommandHSDelAll::CommandHSDelAll(), CommandHSList::CommandHSList(), CommandHSReject::CommandHSReject(), CommandHSRequest::CommandHSRequest(), CommandHSSet::CommandHSSet(), CommandHSSetAll::CommandHSSetAll(), CommandMSCancel::CommandMSCancel(), CommandMSCheck::CommandMSCheck(), CommandMSDel::CommandMSDel(), CommandMSIgnore::CommandMSIgnore(), CommandMSInfo::CommandMSInfo(), CommandMSList::CommandMSList(), CommandMSRead::CommandMSRead(), CommandMSRSend::CommandMSRSend(), CommandMSSend::CommandMSSend(), CommandMSSendAll::CommandMSSendAll(), CommandMSSet::CommandMSSet(), CommandMSStaff::CommandMSStaff(), CommandNSAccess::CommandNSAccess(), CommandNSAJoin::CommandNSAJoin(), CommandNSAList::CommandNSAList(), CommandNSCert::CommandNSCert(), CommandNSConfirm::CommandNSConfirm(), CommandNSDrop::CommandNSDrop(), CommandNSGetEMail::CommandNSGetEMail(), CommandNSGetPass::CommandNSGetPass(), CommandNSGroup::CommandNSGroup(), CommandNSIdentify::CommandNSIdentify(), CommandNSInfo::CommandNSInfo(), CommandNSList::CommandNSList(), CommandNSLogout::CommandNSLogout(), CommandNSRecover::CommandNSRecover(), CommandNSRegister::CommandNSRegister(), CommandNSResetPass::CommandNSResetPass(), CommandNSSASet::CommandNSSASet(), CommandNSSASetAutoOp::CommandNSSASetAutoOp(), CommandNSSASetChanstats::CommandNSSASetChanstats(), CommandNSSASetDisplay::CommandNSSASetDisplay(), CommandNSSASetEmail::CommandNSSASetEmail(), CommandNSSASetGreet::CommandNSSASetGreet(), CommandNSSASetHide::CommandNSSASetHide(), CommandNSSASetKeepModes::CommandNSSASetKeepModes(), CommandNSSASetKill::CommandNSSASetKill(), CommandNSSASetLanguage::CommandNSSASetLanguage(), CommandNSSASetMessage::CommandNSSASetMessage(), CommandNSSASetMisc::CommandNSSASetMisc(), CommandNSSASetNoexpire::CommandNSSASetNoexpire(), CommandNSSASetPassword::CommandNSSASetPassword(), CommandNSSASetPrivate::CommandNSSASetPrivate(), CommandNSSASetSecure::CommandNSSASetSecure(), CommandNSSet::CommandNSSet(), CommandNSSetAutoOp::CommandNSSetAutoOp(), CommandNSSetChanstats::CommandNSSetChanstats(), CommandNSSetDisplay::CommandNSSetDisplay(), CommandNSSetEmail::CommandNSSetEmail(), CommandNSSetGreet::CommandNSSetGreet(), CommandNSSetHide::CommandNSSetHide(), CommandNSSetKeepModes::CommandNSSetKeepModes(), CommandNSSetKill::CommandNSSetKill(), CommandNSSetLanguage::CommandNSSetLanguage(), CommandNSSetMessage::CommandNSSetMessage(), CommandNSSetMisc::CommandNSSetMisc(), CommandNSSetPassword::CommandNSSetPassword(), CommandNSSetPrivate::CommandNSSetPrivate(), CommandNSSetSecure::CommandNSSetSecure(), CommandNSStatus::CommandNSStatus(), CommandNSSuspend::CommandNSSuspend(), CommandNSUngroup::CommandNSUngroup(), CommandNSUnSuspend::CommandNSUnSuspend(), CommandOSAKill::CommandOSAKill(), CommandOSChanKill::CommandOSChanKill(), CommandOSChanList::CommandOSChanList(), CommandOSConfig::CommandOSConfig(), CommandOSDefcon::CommandOSDefcon(), CommandOSDNS::CommandOSDNS(), CommandOSException::CommandOSException(), CommandOSForbid::CommandOSForbid(), CommandOSIgnore::CommandOSIgnore(), CommandOSInfo::CommandOSInfo(), CommandOSJupe::CommandOSJupe(), CommandOSKick::CommandOSKick(), CommandOSKill::CommandOSKill(), CommandOSLogin::CommandOSLogin(), CommandOSLogSearch::CommandOSLogSearch(), CommandOSMode::CommandOSMode(), CommandOSModInfo::CommandOSModInfo(), CommandOSModList::CommandOSModList(), CommandOSModLoad::CommandOSModLoad(), CommandOSModReLoad::CommandOSModReLoad(), CommandOSModUnLoad::CommandOSModUnLoad(), CommandOSNOOP::CommandOSNOOP(), CommandOSOLine::CommandOSOLine(), CommandOSOper::CommandOSOper(), CommandOSSeen::CommandOSSeen(), CommandOSSession::CommandOSSession(), CommandOSSet::CommandOSSet(), CommandOSSNLine::CommandOSSNLine(), CommandOSSQLine::CommandOSSQLine(), CommandOSStats::CommandOSStats(), CommandOSSVSJoin::CommandOSSVSJoin(), CommandOSSVSNick::CommandOSSVSNick(), CommandOSSVSPart::CommandOSSVSPart(), CommandOSUMode::CommandOSUMode(), CommandOSUserList::CommandOSUserList(), CommandSeen::CommandSeen(), and NewsBase::NewsBase().

Field Documentation

bool Command::allow_unregistered
private

Definition at line 97 of file commands.h.

Referenced by AllowUnregistered(), and Command().

Anope::string Command::desc
private

Definition at line 94 of file commands.h.

Referenced by GetDesc(), and SetDesc().

size_t Command::max_params

Definition at line 103 of file commands.h.

Referenced by Fantasy::OnPrivmsg(), and Run().

size_t Command::min_params

Definition at line 105 of file commands.h.

Referenced by Fantasy::OnPrivmsg(), Run(), and WebPanel::RunCommand().

Module* Command::module
bool Command::require_user
private

Definition at line 99 of file commands.h.

Referenced by Command(), and RequireUser().

std::vector<Anope::string> Command::syntax
private

Definition at line 95 of file commands.h.

Referenced by ClearSyntax(), SendSyntax(), and SetSyntax().


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