1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 08:36:39 +02:00

Made the help command description code more sane

This commit is contained in:
Adam
2011-02-11 03:12:39 -05:00
parent 7bdf592f7e
commit 2529ff6dae
148 changed files with 215 additions and 939 deletions
+1 -10
View File
@@ -18,6 +18,7 @@ class CommandNSSetSecure : public Command
public:
CommandNSSetSecure(const Anope::string &cpermission = "") : Command("SECURE", 2, 2, cpermission)
{
this->SetDesc("Turn nickname security on or off");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -63,11 +64,6 @@ class CommandNSSetSecure : public Command
{
SyntaxError(source, "SET SECURE", _("SET SECURE {ON | OFF}"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" SECURE Turn nickname security on or off"));
}
};
class CommandNSSASetSecure : public CommandNSSetSecure
@@ -95,11 +91,6 @@ class CommandNSSASetSecure : public CommandNSSetSecure
{
SyntaxError(source, "SASET SECURE", _("SASET \037nickname\037 SECURE {ON | OFF}"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" SECURE Turn nickname security on or off"));
}
};
class NSSetSecure : public Module