Add stub for event::ExecuteCommand w/ source

refs #8034
This commit is contained in:
Alexander A. Klimov 2020-06-02 11:52:58 +02:00
parent 752df8ea28
commit 3f07dd6cae
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ void ClusterEvents::ExecuteCheckFromQueue(const MessageOrigin::Ptr& origin, cons
return;
}
if (params->Contains("source")) {
Log(LogCritical, "ApiListener", "Not implemented.");
return;
}
if (!listener->GetAcceptCommands()) {
Log(LogWarning, "ApiListener")
<< "Ignoring command. '" << listener->GetName() << "' does not accept commands.";