mirror of
https://github.com/anope/anope.git
synced 2026-06-27 16:06:39 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -20,6 +20,7 @@ class CommandMSCancel : public Command
|
||||
public:
|
||||
CommandMSCancel() : Command("CANCEL", 1, 1)
|
||||
{
|
||||
this->SetDesc("Cancel last memo you sent");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -67,11 +68,6 @@ class CommandMSCancel : public Command
|
||||
{
|
||||
SyntaxError(source, "CANCEL", _("CANCEL {\037nick\037 | \037channel\037}"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" CANCEL Cancel last memo you sent"));
|
||||
}
|
||||
};
|
||||
|
||||
class MSCancel : public Module
|
||||
|
||||
Reference in New Issue
Block a user