Inherits Command.

Public Member Functions | |
| CommandHSSet (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 16 of file hs_set.cpp.
| CommandHSSet::CommandHSSet | ( | Module * | creator | ) | [inline] |
Definition at line 19 of file hs_set.cpp.
References _, Command::SetDesc(), and Command::SetSyntax().
| void CommandHSSet::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 25 of file hs_set.cpp.
References _, Anope::string::c_str(), IRCDProto::CanSetVIdent, Config, Anope::string::empty(), Anope::string::find(), NickAlias::Find(), FOREACH_MOD, HOST_NO_VIDENT, HOST_SET_ERROR, HOST_SET_IDENT_ERROR, HOST_SET_TOOLONG, ServerConfig::HostLen, I_OnSetVhost, IRCD, IRCDProto::IsHostValid(), IRCDProto::IsIdentValid(), Anope::string::length(), LOG_ADMIN, NickAlias::nick, NICK_X_NOT_REGISTERED, Anope::string::npos, Command::OnSyntaxError(), NickAlias::SetVhost(), and Anope::string::substr().
| bool CommandHSSet::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 92 of file hs_set.cpp.
References _, and Command::SendSyntax().
1.7.1