summaryrefslogtreecommitdiff
path: root/modules/core/os_session.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-11 03:12:39 -0500
committerAdam <Adam@anope.org>2011-02-11 03:12:39 -0500
commit2529ff6daef7eb387d2fce4c6df5a31029fd5bb2 (patch)
tree25c4cf0c84bef8b47c3824ba827b3816b8f17221 /modules/core/os_session.cpp
parent7bdf592f7ea2d527930ada96d8e07fae966239d4 (diff)
Made the help command description code more sane
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