summaryrefslogtreecommitdiff
path: root/modules/core/os_modinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_modinfo.cpp')
-rw-r--r--modules/core/os_modinfo.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/core/os_modinfo.cpp b/modules/core/os_modinfo.cpp
index 9ee5b65fd..734a80ffe 100644
--- a/modules/core/os_modinfo.cpp
+++ b/modules/core/os_modinfo.cpp
@@ -40,6 +40,7 @@ class CommandOSModInfo : public Command
public:
CommandOSModInfo() : Command("MODINFO", 1, 1)
{
+ this->SetDesc("Info about a loaded module");
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -76,11 +77,6 @@ class CommandOSModInfo : public Command
{
SyntaxError(source, "MODINFO", _("MODINFO \037FileName\037"));
}
-
- void OnServHelp(CommandSource &source)
- {
- source.Reply(_(" MODINFO Info about a loaded module"));
- }
};
class OSModInfo : public Module