1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 06:03:14 +02:00

Allow Command::FindCommandFromService to skip hidden commands.

This commit is contained in:
Sadie Powell
2026-03-11 05:44:48 +00:00
parent fa5bb3f1bf
commit 22a1924bfd
8 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ public:
BotInfo *bi;
Anope::string cmd;
if (Command::FindCommandFromService("memoserv/del", bi, cmd))
if (Command::FindFromService("memoserv/del", bi, cmd))
{
if (ci)
source.Reply(_("To delete, type: \002%s %s %d\002"), bi->GetQueryCommand({}, cmd).c_str(), ci->name.c_str(), index + 1);