mirror of
https://github.com/anope/anope.git
synced 2026-06-29 16:56:37 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandOSShutdown : public Command
|
||||
public:
|
||||
CommandOSShutdown() : Command("SHUTDOWN", 0, 0, "operserv/shutdown")
|
||||
{
|
||||
this->SetDesc("Terminate services with save");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -38,11 +39,6 @@ class CommandOSShutdown : public Command
|
||||
"Causes Services to save all databases and then shut down."));
|
||||
return true;
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" SHUTDOWN Terminate the Services program with save"));
|
||||
}
|
||||
};
|
||||
|
||||
class OSShutdown : public Module
|
||||
|
||||
Reference in New Issue
Block a user