mirror of
https://github.com/anope/anope.git
synced 2026-06-29 06:56:39 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -31,6 +31,7 @@ class CommandNSInfo : public Command
|
||||
CommandNSInfo() : Command("INFO", 1, 2)
|
||||
{
|
||||
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
|
||||
this->SetDesc("Displays information about a given nickname");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -161,11 +162,6 @@ class CommandNSInfo : public Command
|
||||
{
|
||||
SyntaxError(source, "INFO", _("INFO \037nick\037"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" INFO Displays information about a given nickname"));
|
||||
}
|
||||
};
|
||||
|
||||
class NSInfo : public Module
|
||||
|
||||
Reference in New Issue
Block a user