summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_xop.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/chanserv/cs_xop.cpp
parent40d558ef21a438bf1dff9ac522cd852166fc4c44 (diff)
Expand GetQueryCommand to take a command name.
Diffstat (limited to 'modules/chanserv/cs_xop.cpp')
-rw-r--r--modules/chanserv/cs_xop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/chanserv/cs_xop.cpp b/modules/chanserv/cs_xop.cpp
index b005af2d1..e2e326eb8 100644
--- a/modules/chanserv/cs_xop.cpp
+++ b/modules/chanserv/cs_xop.cpp
@@ -590,11 +590,11 @@ public:
source.Reply(_("Alternative methods of modifying channel access lists are\n"
"available."));
if (!access_cmd.empty())
- source.Reply(_("See \002%s HELP %s\002 for more information\n"
- "about the access list."), access_bi->GetQueryCommand().c_str(), access_cmd.c_str());
+ source.Reply(_("See \002%s\002 for more information\n"
+ "about the access list."), access_bi->GetQueryCommand("generic/help", access_cmd).c_str());
if (!flags_cmd.empty())
- source.Reply(_("See \002%s HELP %s\002 for more information\n"
- "about the flags system."), flags_bi->GetQueryCommand().c_str(), flags_cmd.c_str());
+ source.Reply(_("See \002%s\002 for more information\n"
+ "about the flags system."), flags_bi->GetQueryCommand("generic/help", flags_cmd).c_str());
}
return true;
}