Inherits Command.

Public Member Functions | |
| CommandOSNOOP (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 os_noop.cpp.
| CommandOSNOOP::CommandOSNOOP | ( | Module * | creator | ) | [inline] |
Definition at line 19 of file os_noop.cpp.
References _, Command::SetDesc(), and Command::SetSyntax().
| void CommandOSNOOP::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 os_noop.cpp.
References _, Anope::string::c_str(), Config, Anope::string::equals_ci(), Extensible::Extend(), Server::Find(), Server::GetName(), User::HasMode(), IRCD, Server::IsJuped(), User::Kill(), LOG_ADMIN, Me, Command::OnSyntaxError(), ServerConfig::OperServ, IRCDProto::SendSVSNOOP(), User::server, Extensible::Shrink(), and UserListByNick.
| bool CommandOSNOOP::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 67 of file os_noop.cpp.
References _, and Command::SendSyntax().
1.7.1