summaryrefslogtreecommitdiff
path: root/modules/core/os_session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_session.cpp')
-rw-r--r--modules/core/os_session.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/core/os_session.cpp b/modules/core/os_session.cpp
index 835607f45..6d1d0a0b2 100644
--- a/modules/core/os_session.cpp
+++ b/modules/core/os_session.cpp
@@ -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> &params)
@@ -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> &params)
@@ -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