summaryrefslogtreecommitdiff
path: root/modules/botserv/bs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/botserv/bs_set.cpp')
-rw-r--r--modules/botserv/bs_set.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/botserv/bs_set.cpp b/modules/botserv/bs_set.cpp
index 4cce07b98..a7c6ba414 100644
--- a/modules/botserv/bs_set.cpp
+++ b/modules/botserv/bs_set.cpp
@@ -37,6 +37,8 @@ public:
));
bool hide_privileged_commands = Config->GetBlock("options").Get<bool>("hideprivilegedcommands"),
hide_registered_commands = Config->GetBlock("options").Get<bool>("hideregisteredcommands");
+
+ HelpWrapper help;
Anope::string this_name = source.command;
for (const auto &[c_name, info] : source.service->commands)
{
@@ -56,10 +58,12 @@ public:
continue;
source.command = c_name;
- command->OnServHelp(source);
+ command->OnServHelp(source, help);
}
}
}
+ help.SendTo(source);
+
source.Reply(_("Type \002%s\032\037option\037\002 for more information on a particular option."),
source.service->GetQueryCommand("generic/help", this_name).c_str());