1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 16:46:38 +02:00

Expand GetQueryCommand to take a command name.

This commit is contained in:
Sadie Powell
2025-04-09 18:17:02 +01:00
parent 40d558ef21
commit 9351debd73
22 changed files with 144 additions and 97 deletions
+6 -4
View File
@@ -57,8 +57,9 @@ public:
}
}
source.Reply(_("Type \002%s HELP %s \037option\037\002 for more information\n"
"on a specific option."), source.service->GetQueryCommand().c_str(), this_name.c_str());
source.Reply(_("Type \002%s \037option\037\002 for more information\n"
"on a specific option."),
source.service->GetQueryCommand("generic/help", this_name).c_str());
return true;
}
@@ -100,9 +101,10 @@ public:
}
}
source.Reply(_("Type \002%s HELP %s \037option\037\002 for more information\n"
source.Reply(_("Type \002%s \037option\037\002 for more information\n"
"on a specific option. The options will be set on the given\n"
"\037nickname\037."), source.service->GetQueryCommand().c_str(), this_name.c_str());
"\037nickname\037."),
source.service->GetQueryCommand("generic/help", this_name).c_str());
return true;
}
};