Inherits Command.

Public Member Functions | |
| CommandBSKick (Module *creator) | |
| void | Execute (CommandSource &source, const std::vector< Anope::string > ¶ms) anope_override |
| bool | OnHelp (CommandSource &source, const Anope::string &subcommand) anope_override |
Definition at line 17 of file bs_kick.cpp.
| CommandBSKick::CommandBSKick | ( | Module * | creator | ) | [inline] |
Definition at line 20 of file bs_kick.cpp.
References _, Command::SetDesc(), and Command::SetSyntax().
| void CommandBSKick::Execute | ( | CommandSource & | source, | |
| const std::vector< Anope::string > & | params | |||
| ) | [inline, virtual] |
Execute this command.
| source | The source | |
| params | Command parameters |
Implements Command.
Definition at line 26 of file bs_kick.cpp.
References _, ACCESS_DENIED, ChannelInfo::bi, BOT_NOT_ASSIGNED, ServerConfig::BSKeepData, Anope::string::c_str(), ChannelInfo::capsmin, ChannelInfo::capspercent, CHAN_X_NOT_REGISTERED, Config, Anope::string::empty(), Anope::string::equals_ci(), Extensible::ExtendMetadata(), ChannelInfo::Find(), ChannelInfo::floodlines, ChannelInfo::floodsecs, LOG_COMMAND, LOG_OVERRIDE, Command::OnSyntaxError(), Anope::ReadOnly, ChannelInfo::repeattimes, Extensible::Shrink(), ChannelInfo::ttb, TTB_AMSGS, TTB_BADWORDS, TTB_BOLDS, TTB_CAPS, TTB_COLORS, TTB_FLOOD, TTB_ITALICS, TTB_REPEAT, TTB_REVERSES, and TTB_UNDERLINES.
| bool CommandBSKick::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.
| 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") |
Reimplemented from Command.
Definition at line 468 of file bs_kick.cpp.
References _, Anope::string::c_str(), Config, Command::SendSyntax(), and ServerConfig::UseStrictPrivMsgString.
1.7.1