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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user