if (!origin.FromZone || !Zone::GetLocalZone()->IsChildOf(origin.FromZone))
return Empty;
+ ApiListener::Ptr listener = ApiListener::GetInstance();
+
+ if (!listener || !listener->GetAcceptConfig())
+ return Empty;
+
Dictionary::Ptr update = params->Get("update");
bool configChange = false;
default {{{ return "5665"; }}}
};
+ [config] bool accept_config;
+
[state] double log_message_timestamp;
String identity;
%attribute %string "bind_host",
%attribute %string "bind_port",
+
+ %attribute %number "accept_config"
}
%type Endpoint {