Inherits Command.

Public Member Functions | |
| CommandCSSetPeace (Module *creator, const Anope::string &cname="chanserv/set/peace") | |
| void | Execute (CommandSource &source, const std::vector< Anope::string > ¶ms) anope_override |
| bool | OnHelp (CommandSource &source, const Anope::string &) anope_override |
Definition at line 451 of file cs_set.cpp.
| CommandCSSetPeace::CommandCSSetPeace | ( | Module * | creator, | |
| const Anope::string & | cname = "chanserv/set/peace" | |||
| ) | [inline] |
Definition at line 454 of file cs_set.cpp.
References _, Command::SetDesc(), and Command::SetSyntax().
| void CommandCSSetPeace::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 460 of file cs_set.cpp.
References _, ACCESS_DENIED, Anope::string::c_str(), CHAN_X_NOT_REGISTERED, EVENT_ALLOW, EVENT_STOP, Extensible::ExtendMetadata(), ChannelInfo::Find(), FOREACH_RESULT, I_OnSetChannelOption, ChannelInfo::name, Command::OnSyntaxError(), and Extensible::Shrink().
| bool CommandCSSetPeace::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 495 of file cs_set.cpp.
References _, CommandSource::Reply(), Command::SendSyntax(), and CommandSource::service.
1.7.1