mirror of
https://github.com/anope/anope.git
synced 2026-07-01 14:06:39 +02:00
Expand GetQueryCommand to take a command name.
This commit is contained in:
@@ -100,9 +100,10 @@ public:
|
||||
Anope::string cmd;
|
||||
if (Command::FindCommandFromService("chanserv/access", bi, cmd))
|
||||
source.Reply(_(" \n"
|
||||
"See the \002%s\002 command (\002%s HELP ACCESS\002) for\n"
|
||||
"See the \002%s\002 command (\002%s ACCESS\002) for\n"
|
||||
"information on giving a subset of these privileges to\n"
|
||||
"other channel users.\n"), cmd.c_str(), bi->GetQueryCommand().c_str());
|
||||
"other channel users.\n"),
|
||||
cmd.c_str(), bi->GetQueryCommand("generic/help").c_str());
|
||||
source.Reply(_(" \n"
|
||||
"NOTICE: In order to register a channel, you must have\n"
|
||||
"first registered your nickname."));
|
||||
|
||||
Reference in New Issue
Block a user