mirror of
https://github.com/anope/anope.git
synced 2026-06-26 02:46:38 +02:00
Made the help command description code more sane
This commit is contained in:
@@ -169,6 +169,7 @@ class CommandOSSession : public Command
|
||||
public:
|
||||
CommandOSSession() : Command("SESSION", 2, 2, "operserv/session")
|
||||
{
|
||||
this->SetDesc("View the list of host sessions");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -214,11 +215,6 @@ class CommandOSSession : public Command
|
||||
{
|
||||
SyntaxError(source, "SESSION", _("SESSION LIST \037limit\037"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" SESSION View the list of host sessions"));
|
||||
}
|
||||
};
|
||||
|
||||
class CommandOSException : public Command
|
||||
@@ -438,6 +434,7 @@ class CommandOSException : public Command
|
||||
public:
|
||||
CommandOSException() : Command("EXCEPTION", 1, 5)
|
||||
{
|
||||
this->SetDesc("Modify the session-limit exception list");
|
||||
}
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
@@ -513,11 +510,6 @@ class CommandOSException : public Command
|
||||
{
|
||||
SyntaxError(source, "EXCEPTION", _("EXCEPTION {ADD | DEL | MOVE | LIST | VIEW} [\037params\037]"));
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(_(" EXCEPTION Modify the session-limit exception list"));
|
||||
}
|
||||
};
|
||||
|
||||
class OSSession : public Module
|
||||
|
||||
Reference in New Issue
Block a user