summaryrefslogtreecommitdiff
path: root/modules/commands/os_shutdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_shutdown.cpp')
-rw-r--r--modules/commands/os_shutdown.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/commands/os_shutdown.cpp b/modules/commands/os_shutdown.cpp
index 29d1713d5..833c78491 100644
--- a/modules/commands/os_shutdown.cpp
+++ b/modules/commands/os_shutdown.cpp
@@ -19,7 +19,6 @@ class CommandOSQuit : public Command
CommandOSQuit(Module *creator) : Command(creator, "operserv/quit", 0, 0)
{
this->SetDesc(_("Terminate Services WITHOUT saving"));
- this->SetSyntax("");
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
@@ -47,7 +46,6 @@ class CommandOSRestart : public Command
CommandOSRestart(Module *creator) : Command(creator, "operserv/restart", 0, 0)
{
this->SetDesc(_("Save databases and restart Services"));
- this->SetSyntax("");
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
@@ -73,7 +71,6 @@ class CommandOSShutdown : public Command
CommandOSShutdown(Module *creator) : Command(creator, "operserv/shutdown", 0, 0)
{
this->SetDesc(_("Terminate services with save"));
- this->SetSyntax("");
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
@@ -100,10 +97,9 @@ class OSShutdown : public Module
CommandOSShutdown commandosshutdown;
public:
- OSShutdown(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ OSShutdown(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandosquit(this), commandosrestart(this), commandosshutdown(this)
{
- this->SetAuthor("Anope");
}
};