1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 08:16:37 +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 -5
View File
@@ -43,6 +43,7 @@ class CommandBSInfo : public Command
CommandBSInfo() : Command("INFO", 1, 1)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
this->SetDesc("Allows you to see BotServ information about a channel or a bot");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -234,11 +235,6 @@ class CommandBSInfo : public Command
{
SyntaxError(source, "INFO", _("INFO {\037chan\037 | \037nick\037}"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" INFO Allows you to see BotServ information about a channel or a bot"));
}
};
class BSInfo : public Module