mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
RPC: fix "halt" command
This commit is contained in:
parent
3bc3ae9d84
commit
6a110a4f1b
|
@ -146,7 +146,7 @@ namespace llarp::rpc
|
|||
m_LMQ->listen_plain(url.zmq_address());
|
||||
m_LMQ->add_category("llarp", oxenmq::AuthLevel::none)
|
||||
.add_request_command("logs", [this](oxenmq::Message& msg) { HandleLogsSubRequest(msg); })
|
||||
.add_command(
|
||||
.add_request_command(
|
||||
"halt",
|
||||
[&](oxenmq::Message& msg) {
|
||||
if (not m_Router->IsRunning())
|
||||
|
|
Loading…
Reference in a new issue