mirror of
https://github.com/anope/anope.git
synced 2026-06-28 22:36:36 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandNSSetPrivate : public Command
|
||||
public:
|
||||
CommandNSSetPrivate(const Anope::string &spermission = "") : Command("PRIVATE", 2, 2, spermission)
|
||||
{
|
||||
this->SetDesc("Prevent the nickname from appearing in a \002%R" + NickServ->nick + " LIST\002");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -62,11 +63,6 @@ class CommandNSSetPrivate : public Command
|
||||
{
|
||||
SyntaxError(source, "SET PRIVATE", _("SET PRIVATE {ON | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" PRIVATE Prevent the nickname from appearing in a \002%R%s LIST\002"), ChanServ->nick.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
class CommandNSSASetPrivate : public CommandNSSetPrivate
|
||||
@@ -93,10 +89,6 @@ class CommandNSSASetPrivate : public CommandNSSetPrivate
|
||||
{
|
||||
SyntaxError(source, "SASET PRIVATE", _("SASET \037nickname\037 PRIVATE {ON | OFF}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class NSSetPrivate : public Module
|
||||
|
||||
Reference in New Issue
Block a user