1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 07:56:39 +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
@@ -255,6 +255,7 @@ class CommandCSMode : public Command
public:
CommandCSMode() : Command("MODE", 3, 4)
{
this->SetDesc("Control modes and mode locks on a channel");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -306,11 +307,6 @@ class CommandCSMode : public Command
{
SyntaxError(source, "MODE", _("MODE \037channel\037 {LOCK|SET} [\037modes\037 | {ADD|DEL|LIST} [\037what\037]]"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(_(" MODE Control modes and mode locks on a channel"));
}
};
class CSMode : public Module