mirror of
https://github.com/anope/anope.git
synced 2026-06-30 15:26:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandNSForbid : public Command
|
||||
public:
|
||||
CommandNSForbid() : Command("FORBID", 1, 2, "nickserv/forbid")
|
||||
{
|
||||
this->SetDesc("Prevents a nickname from being registered");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -99,11 +100,6 @@ class CommandNSForbid : public Command
|
||||
{
|
||||
SyntaxError(source, "FORBID", Config->ForceForbidReason ? _("FORBID \037nickname\037 \037reason\037") : _("FORBID \037nickname\037 [\037reason\037]"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" FORBID Prevents a nickname from being registered"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSForbid : public Module
|
||||
|
||||
Reference in New Issue
Block a user