mirror of
https://github.com/anope/anope.git
synced 2026-06-26 20:36:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -18,6 +18,7 @@ class CommandOSUMode : public Command
|
||||
public:
|
||||
CommandOSUMode() : Command("UMODE", 2, 2, "operserv/umode")
|
||||
{
|
||||
this->SetDesc("Change a user's modes");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -66,11 +67,6 @@ class CommandOSUMode : public Command
|
||||
{
|
||||
SyntaxError(source, "UMODE", _("UMODE \037nick\037 \037modes\037"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" UMODE Change a user's modes"));
|
||||
}
|
||||
};
|
||||
|
||||
class OSUMode : public Module
|
||||
|
||||
Reference in New Issue
Block a user