1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 04:06:41 +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
@@ -51,6 +51,7 @@ class CommandMSRead : public Command
public:
CommandMSRead() : Command("READ", 1, 2)
{
this->SetDesc("Read a memo or memos");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -144,11 +145,6 @@ class CommandMSRead : public Command
{
SyntaxError(source, "READ", _("READ [\037channel\037] {\037list\037 | LAST | NEW}"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" READ Read a memo or memos"));
}
};
class MSRead : public Module