summaryrefslogtreecommitdiff
path: root/modules/botserv/bs_set.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-09 18:17:02 +0100
committerSadie Powell <sadie@witchery.services>2025-04-10 13:34:25 +0100
commit9351debd73cb22f33bc46c201c9d66ec09ea773e (patch)
treebe92bdd1d1f288f375d6ff7fa00afc3db75e255d /modules/botserv/bs_set.cpp
parent40d558ef21a438bf1dff9ac522cd852166fc4c44 (diff)
Expand GetQueryCommand to take a command name.
Diffstat (limited to 'modules/botserv/bs_set.cpp')
-rw-r--r--modules/botserv/bs_set.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/botserv/bs_set.cpp b/modules/botserv/bs_set.cpp
index 9b536e19a..7110e123b 100644
--- a/modules/botserv/bs_set.cpp
+++ b/modules/botserv/bs_set.cpp
@@ -58,8 +58,9 @@ public:
}
}
}
- source.Reply(_("Type \002%s HELP %s \037option\037\002 for more information on a\n"
- "particular option."), source.service->GetQueryCommand().c_str(), this_name.c_str());
+ source.Reply(_("Type \002%s \037option\037\002 for more information on a\n"
+ "particular option."),
+ source.service->GetQueryCommand("generic/help", this_name).c_str());
return true;
}