Inherits Command.

Public Member Functions | |
| CommandCSSetFounder (Module *creator, const Anope::string &cname="chanserv/set/founder") | |
| void | Execute (CommandSource &source, const std::vector< Anope::string > ¶ms) anope_override |
| bool | OnHelp (CommandSource &source, const Anope::string &) anope_override |
Definition at line 325 of file cs_set.cpp.
| CommandCSSetFounder::CommandCSSetFounder | ( | Module * | creator, | |
| const Anope::string & | cname = "chanserv/set/founder" | |||
| ) | [inline] |
Definition at line 328 of file cs_set.cpp.
References _, Command::SetDesc(), and Command::SetSyntax().
| void CommandCSSetFounder::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 334 of file cs_set.cpp.
References _, ACCESS_DENIED, Anope::string::c_str(), CHAN_X_NOT_REGISTERED, NickCore::channelcount, Config, ServerConfig::CSMaxReg, NickCore::display, EVENT_ALLOW, EVENT_STOP, NickAlias::Find(), ChannelInfo::Find(), FOREACH_RESULT, ChannelInfo::GetFounder(), Extensible::HasExt(), I_OnSetChannelOption, LOG_ADMIN, ChannelInfo::name, NickAlias::nc, NickAlias::nick, NICK_X_NOT_REGISTERED, and ChannelInfo::SetFounder().
| bool CommandCSSetFounder::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 383 of file cs_set.cpp.
References _, Anope::string::c_str(), Service::name, CommandSource::Reply(), and Command::SendSyntax().
1.7.1